<feed xmlns='http://www.w3.org/2005/Atom'>
<title>fg21sim.git/fg21sim/utils, branch ps</title>
<subtitle>Simulate foreground for 21cm EoR signal detection
</subtitle>
<link rel='alternate' type='text/html' href='https://git.liwt.net/fg21sim.git/'/>
<entry>
<title>utils/fits.py: Add parameter "checksum" for write_fits_healpix()</title>
<updated>2016-10-27T03:12:01+00:00</updated>
<author>
<name>Aaron LI</name>
<email>aaronly.me@outlook.com</email>
</author>
<published>2016-10-27T03:12:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.liwt.net/fg21sim.git/commit/?id=b657912d9080d814690122a59f91fe2001717c9e'/>
<id>b657912d9080d814690122a59f91fe2001717c9e</id>
<content type='text'>
Also update the docstring and one comment.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also update the docstring and one comment.
</pre>
</div>
</content>
</entry>
<entry>
<title>utils/rotate.py: Fix two bugs which cause wrong results</title>
<updated>2016-10-26T12:35:16+00:00</updated>
<author>
<name>Aaron LI</name>
<email>aaronly.me@outlook.com</email>
</author>
<published>2016-10-26T12:35:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.liwt.net/fg21sim.git/commit/?id=10283f5bb2b72b8b35d385636654c0a7f6f68fd0'/>
<id>10283f5bb2b72b8b35d385636654c0a7f6f68fd0</id>
<content type='text'>
* Fix the wrong output shape: wrongly swap the row and column
* Fix the area mapping method, which may give zero values when the index
  of the input is integer, which cause problem to calculate the
  overlapping areas.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Fix the wrong output shape: wrongly swap the row and column
* Fix the area mapping method, which may give zero values when the index
  of the input is integer, which cause problem to calculate the
  overlapping areas.
</pre>
</div>
</content>
</entry>
<entry>
<title>utils/grid.py: JIT optimize "make_grid_ellipse()"</title>
<updated>2016-10-26T07:50:19+00:00</updated>
<author>
<name>Aaron LI</name>
<email>aaronly.me@outlook.com</email>
</author>
<published>2016-10-26T07:50:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.liwt.net/fg21sim.git/commit/?id=60259c97845f7c96645f130dae770c05ef51c193'/>
<id>60259c97845f7c96645f130dae770c05ef51c193</id>
<content type='text'>
NOTE that the original optional paramter "rotation" is now required.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
NOTE that the original optional paramter "rotation" is now required.
</pre>
</div>
</content>
</entry>
<entry>
<title>utils/grid.py: Use own-implemented JIT-optimized "rotate_center()"</title>
<updated>2016-10-26T07:36:57+00:00</updated>
<author>
<name>Aaron LI</name>
<email>aaronly.me@outlook.com</email>
</author>
<published>2016-10-26T07:36:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.liwt.net/fg21sim.git/commit/?id=7cf0e5977e4a885595ca0931f26a5fef7dc8f82e'/>
<id>7cf0e5977e4a885595ca0931f26a5fef7dc8f82e</id>
<content type='text'>
Also remove the dependence on "scipy".
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also remove the dependence on "scipy".
</pre>
</div>
</content>
</entry>
<entry>
<title>Add utils/rotate.py: Implement basic image rotation</title>
<updated>2016-10-26T07:33:28+00:00</updated>
<author>
<name>Aaron LI</name>
<email>aaronly.me@outlook.com</email>
</author>
<published>2016-10-26T07:33:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.liwt.net/fg21sim.git/commit/?id=c8eecaef2477209db0b4c19fa1811841b798da63'/>
<id>c8eecaef2477209db0b4c19fa1811841b798da63</id>
<content type='text'>
The "rotate_center()" function rotates a gray-scale image by a given
angle about its center, using the area mapping method or simple nearest
neighbor.

This function is `numba` JIT-optimized, and can replace the
`scipy.ndimage.rotate()` function.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The "rotate_center()" function rotates a gray-scale image by a given
angle about its center, using the area mapping method or simple nearest
neighbor.

This function is `numba` JIT-optimized, and can replace the
`scipy.ndimage.rotate()` function.
</pre>
</div>
</content>
</entry>
<entry>
<title>draw.py: Remove the unused "circle()" function</title>
<updated>2016-10-25T15:34:18+00:00</updated>
<author>
<name>Aaron LI</name>
<email>aaronly.me@outlook.com</email>
</author>
<published>2016-10-25T15:34:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.liwt.net/fg21sim.git/commit/?id=9d851a70476667d2790fb5e7a0b25429ac26614e'/>
<id>9d851a70476667d2790fb5e7a0b25429ac26614e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>draw.py: Optimize "ellipse()" using numba JIT</title>
<updated>2016-10-25T15:32:37+00:00</updated>
<author>
<name>Aaron LI</name>
<email>aaronly.me@outlook.com</email>
</author>
<published>2016-10-25T15:32:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.liwt.net/fg21sim.git/commit/?id=7fbd15078b3689c2c4ffde9e986a8de5ca6bd29b'/>
<id>7fbd15078b3689c2c4ffde9e986a8de5ca6bd29b</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>draw.py: Optimize "_ellipse_in_shape()" using JIT</title>
<updated>2016-10-25T13:52:38+00:00</updated>
<author>
<name>Aaron LI</name>
<email>aaronly.me@outlook.com</email>
</author>
<published>2016-10-25T13:52:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.liwt.net/fg21sim.git/commit/?id=1a1a3ab66f5191e350e0fcbec7e852c074fb420f'/>
<id>1a1a3ab66f5191e350e0fcbec7e852c074fb420f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>grid.py: Override "make_coordinate_grid()" using JIT-optimized version</title>
<updated>2016-10-25T13:21:05+00:00</updated>
<author>
<name>Aaron LI</name>
<email>aaronly.me@outlook.com</email>
</author>
<published>2016-10-25T13:21:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.liwt.net/fg21sim.git/commit/?id=9cf9a11460e09ea5b39051c7a5735fa992831d95'/>
<id>9cf9a11460e09ea5b39051c7a5735fa992831d95</id>
<content type='text'>
Remove the original "make_coordinate_grid()" function, and rename the
"make_coordinate_grid_fast()" to override the former one.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove the original "make_coordinate_grid()" function, and rename the
"make_coordinate_grid_fast()" to override the former one.
</pre>
</div>
</content>
</entry>
<entry>
<title>grid.py: Change "make_coordinate_grid_fast()" parameters</title>
<updated>2016-10-25T13:18:43+00:00</updated>
<author>
<name>Aaron LI</name>
<email>aaronly.me@outlook.com</email>
</author>
<published>2016-10-25T13:18:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.liwt.net/fg21sim.git/commit/?id=e23cca31e11a6934b4117a74d5fc23278150fc7a'/>
<id>e23cca31e11a6934b4117a74d5fc23278150fc7a</id>
<content type='text'>
Change the parameters of "make_coordinate_grid_fast()", make it share
the same parameter list as "make_coordinate_grid()".
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change the parameters of "make_coordinate_grid_fast()", make it share
the same parameter list as "make_coordinate_grid()".
</pre>
</div>
</content>
</entry>
</feed>
