Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | draw.py: Optimize "ellipse()" using numba JIT | Aaron LI | 2016-10-25 | 1 | -17/+27 |
| | | | | | | | | | | 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. | ||||
* | draw.py: Optimize "_ellipse_in_shape()" using JIT | Aaron LI | 2016-10-25 | 1 | -3/+20 |
| | |||||
* | utils/draw.py: List the functions taken from "scikit-image" | Aaron LI | 2016-10-17 | 1 | -2/+8 |
| | |||||
* | Fix the reStructuredText citation syntax | Aaron LI | 2016-10-17 | 1 | -1/+1 |
| | |||||
* | utils/draw.py: Add disclaimer about the license: Modified BSD | Aaron LI | 2016-10-15 | 1 | -4/+41 |
| | |||||
* | Add utils/draw.py: draw circles and ellipses | Aaron LI | 2016-10-15 | 1 | -0/+128 |
These functions will be used to draw the image of a SNR or a radio halo. These functions are copied from the `scikit-image` project. Thanks! scikit-image: http://scikit-image.org/docs/dev/api/skimage.draw.html |