aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/galactic/snr.py
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2016-10-25 23:32:37 +0800
committerAaron LI <aaronly.me@outlook.com>2016-10-25 23:32:37 +0800
commit7fbd15078b3689c2c4ffde9e986a8de5ca6bd29b (patch)
treeb9eb4d0597983f7751c7e1abd1ab780605ca042a /fg21sim/galactic/snr.py
parent1a1a3ab66f5191e350e0fcbec7e852c074fb420f (diff)
downloadfg21sim-7fbd15078b3689c2c4ffde9e986a8de5ca6bd29b.tar.bz2
draw.py: Optimize "ellipse()" using numba JIT
NOTE: However, there are two significant problems: * Cannot figure out why ``nb.optional(nb.types.UniTuple(nb.int64, 2))`` does NOT work. Therefore, make ``shape`` as mandatory parameter instead of optional. * Cannot figure out multi-dispatch that allows both int and float types for ``r``, ``c``, ``r_radius`` and ``c_radius``. Thus only support the int type for the moment.
Diffstat (limited to 'fg21sim/galactic/snr.py')
0 files changed, 0 insertions, 0 deletions