diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-10-25 23:32:37 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-10-25 23:32:37 +0800 |
commit | 7fbd15078b3689c2c4ffde9e986a8de5ca6bd29b (patch) | |
tree | b9eb4d0597983f7751c7e1abd1ab780605ca042a /fg21sim/galactic/freefree.py | |
parent | 1a1a3ab66f5191e350e0fcbec7e852c074fb420f (diff) | |
download | fg21sim-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/freefree.py')
0 files changed, 0 insertions, 0 deletions