astrowisp 1.0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (411) hide show
  1. astrowisp-1.0.0/.gitattributes +3 -0
  2. astrowisp-1.0.0/.github/workflows/build_wheels.yml +96 -0
  3. astrowisp-1.0.0/.gitignore +15 -0
  4. astrowisp-1.0.0/LICENSE +21 -0
  5. astrowisp-1.0.0/PKG-INFO +101 -0
  6. astrowisp-1.0.0/PythonPackage/.gitignore +1 -0
  7. astrowisp-1.0.0/PythonPackage/.pylintrc +542 -0
  8. astrowisp-1.0.0/PythonPackage/astrowisp/.gitignore +1 -0
  9. astrowisp-1.0.0/PythonPackage/astrowisp/__init__.py +29 -0
  10. astrowisp-1.0.0/PythonPackage/astrowisp/__main__.py +4 -0
  11. astrowisp-1.0.0/PythonPackage/astrowisp/_initialize_library.py +464 -0
  12. astrowisp-1.0.0/PythonPackage/astrowisp/background.py +122 -0
  13. astrowisp-1.0.0/PythonPackage/astrowisp/fake_image/__init__.py +7 -0
  14. astrowisp-1.0.0/PythonPackage/astrowisp/fake_image/bipolynomial_psf_piece.py +75 -0
  15. astrowisp-1.0.0/PythonPackage/astrowisp/fake_image/image.py +92 -0
  16. astrowisp-1.0.0/PythonPackage/astrowisp/fake_image/meson.build +13 -0
  17. astrowisp-1.0.0/PythonPackage/astrowisp/fake_image/piecewise_bicubic_psf.py +142 -0
  18. astrowisp-1.0.0/PythonPackage/astrowisp/fake_image/piecewise_psf.py +132 -0
  19. astrowisp-1.0.0/PythonPackage/astrowisp/fake_image/psf_piece.py +40 -0
  20. astrowisp-1.0.0/PythonPackage/astrowisp/fit_star_shape.py +601 -0
  21. astrowisp-1.0.0/PythonPackage/astrowisp/hat_masks.py +51 -0
  22. astrowisp-1.0.0/PythonPackage/astrowisp/io_tree.py +379 -0
  23. astrowisp-1.0.0/PythonPackage/astrowisp/meson.build +22 -0
  24. astrowisp-1.0.0/PythonPackage/astrowisp/piecewise_bicubic_psf.py +148 -0
  25. astrowisp-1.0.0/PythonPackage/astrowisp/piecewise_bicubic_psf_map.py +59 -0
  26. astrowisp-1.0.0/PythonPackage/astrowisp/psf_base.py +125 -0
  27. astrowisp-1.0.0/PythonPackage/astrowisp/subpixphot.py +232 -0
  28. astrowisp-1.0.0/PythonPackage/astrowisp/tests/__init__.py +3 -0
  29. astrowisp-1.0.0/PythonPackage/astrowisp/tests/fitpsf/__init__.py +0 -0
  30. astrowisp-1.0.0/PythonPackage/astrowisp/tests/fitpsf/noiseless_tests.py +637 -0
  31. astrowisp-1.0.0/PythonPackage/astrowisp/tests/fitpsf/test_data/.gitignore +1 -0
  32. astrowisp-1.0.0/PythonPackage/astrowisp/tests/fitpsf/test_data/config_template.cfg +303 -0
  33. astrowisp-1.0.0/PythonPackage/astrowisp/tests/fitpsf/test_data/hdf5_structure.xml +221 -0
  34. astrowisp-1.0.0/PythonPackage/astrowisp/tests/fitpsf/utils.py +99 -0
  35. astrowisp-1.0.0/PythonPackage/astrowisp/tests/meson.build +17 -0
  36. astrowisp-1.0.0/PythonPackage/astrowisp/tests/test_background.py +300 -0
  37. astrowisp-1.0.0/PythonPackage/astrowisp/tests/test_data/XO1_test_img.fistar +237 -0
  38. astrowisp-1.0.0/PythonPackage/astrowisp/tests/test_data/XO1_test_img.fits +0 -0
  39. astrowisp-1.0.0/PythonPackage/astrowisp/tests/test_data/meson.build +4 -0
  40. astrowisp-1.0.0/PythonPackage/astrowisp/tests/test_fake_image.py +281 -0
  41. astrowisp-1.0.0/PythonPackage/astrowisp/tests/test_fistar.py +80 -0
  42. astrowisp-1.0.0/PythonPackage/astrowisp/tests/test_fit_star_shape/__init__.py +3 -0
  43. astrowisp-1.0.0/PythonPackage/astrowisp/tests/test_fit_star_shape/meson.build +10 -0
  44. astrowisp-1.0.0/PythonPackage/astrowisp/tests/test_fit_star_shape/noiseless_tests.py +717 -0
  45. astrowisp-1.0.0/PythonPackage/astrowisp/tests/test_fit_star_shape/utils.py +105 -0
  46. astrowisp-1.0.0/PythonPackage/astrowisp/tests/test_grcollect.py +244 -0
  47. astrowisp-1.0.0/PythonPackage/astrowisp/tests/test_piecewise_bicubic_psf.py +438 -0
  48. astrowisp-1.0.0/PythonPackage/astrowisp/tests/utilities.py +59 -0
  49. astrowisp-1.0.0/PythonPackage/astrowisp/utils/__init__.py +6 -0
  50. astrowisp-1.0.0/PythonPackage/astrowisp/utils/explore_prf.py +1736 -0
  51. astrowisp-1.0.0/PythonPackage/astrowisp/utils/file_utilities.py +86 -0
  52. astrowisp-1.0.0/PythonPackage/astrowisp/utils/meson.build +10 -0
  53. astrowisp-1.0.0/README.rst +44 -0
  54. astrowisp-1.0.0/create_source_list.py +18 -0
  55. astrowisp-1.0.0/documentation/doxygen/.gitignore +3 -0
  56. astrowisp-1.0.0/documentation/doxygen/BinaryOutputFormat.md +4 -0
  57. astrowisp-1.0.0/documentation/doxygen/Doxyfile +2430 -0
  58. astrowisp-1.0.0/documentation/doxygen/DoxygenLayout.xml +203 -0
  59. astrowisp-1.0.0/documentation/doxygen/FitPSF.md +28 -0
  60. astrowisp-1.0.0/documentation/doxygen/FitSubpix.md +24 -0
  61. astrowisp-1.0.0/documentation/doxygen/NRFitting.pdf +0 -0
  62. astrowisp-1.0.0/documentation/doxygen/NRFitting.tex +126 -0
  63. astrowisp-1.0.0/documentation/doxygen/Overview.md +28 -0
  64. astrowisp-1.0.0/documentation/doxygen/PSFFitting.pdf +0 -0
  65. astrowisp-1.0.0/documentation/doxygen/PSFFitting.tex +102 -0
  66. astrowisp-1.0.0/documentation/doxygen/PSFIntegrals.md +977 -0
  67. astrowisp-1.0.0/documentation/doxygen/PSFIntegralsImplementation.md +283 -0
  68. astrowisp-1.0.0/documentation/doxygen/PiecewiseBicubicFitPSF.md +403 -0
  69. astrowisp-1.0.0/documentation/doxygen/SubPixPhot.md +45 -0
  70. astrowisp-1.0.0/documentation/doxygen/SubPixPhot.pdf +0 -0
  71. astrowisp-1.0.0/documentation/doxygen/SubPixPhot.tex +571 -0
  72. astrowisp-1.0.0/documentation/doxygen/hdf5output_files.md +117 -0
  73. astrowisp-1.0.0/documentation/doxygen/images/PiecewisePSFCell_integrate_hcircle_piece_ddd.png +0 -0
  74. astrowisp-1.0.0/documentation/doxygen/images/PiecewisePSFCell_integrate_hcircle_piece_dddd.png +0 -0
  75. astrowisp-1.0.0/documentation/doxygen/images/PiecewisePSFCell_integrate_hcircle_piece_ddddd.png +0 -0
  76. astrowisp-1.0.0/documentation/doxygen/images/PiecewisePSFCell_integrate_hcircle_piece_dddddb.png +0 -0
  77. astrowisp-1.0.0/documentation/doxygen/images/PiecewisePSFCell_integrate_hcircle_piece_dddddd.png +0 -0
  78. astrowisp-1.0.0/documentation/doxygen/images/PiecewisePSFCell_integrate_hspan_db.png +0 -0
  79. astrowisp-1.0.0/documentation/doxygen/images/PiecewisePSFCell_integrate_hspan_dd.png +0 -0
  80. astrowisp-1.0.0/documentation/doxygen/images/PiecewisePSFCell_integrate_partial_hspan_dddb.png +0 -0
  81. astrowisp-1.0.0/documentation/doxygen/images/PiecewisePSFCell_integrate_partial_vspan_dddb.png +0 -0
  82. astrowisp-1.0.0/documentation/doxygen/images/PiecewisePSFCell_integrate_rectangle_ddbb.png +0 -0
  83. astrowisp-1.0.0/documentation/doxygen/images/PiecewisePSFCell_integrate_rectangle_dddd.png +0 -0
  84. astrowisp-1.0.0/documentation/doxygen/images/PiecewisePSFCell_integrate_vcircle_piece_ddd.png +0 -0
  85. astrowisp-1.0.0/documentation/doxygen/images/PiecewisePSFCell_integrate_vcircle_piece_dddd.png +0 -0
  86. astrowisp-1.0.0/documentation/doxygen/images/PiecewisePSFCell_integrate_vcircle_piece_ddddb.png +0 -0
  87. astrowisp-1.0.0/documentation/doxygen/images/PiecewisePSFCell_integrate_vcircle_piece_ddddd.png +0 -0
  88. astrowisp-1.0.0/documentation/doxygen/images/PiecewisePSFCell_integrate_vcircle_piece_dddddb.png +0 -0
  89. astrowisp-1.0.0/documentation/doxygen/images/PiecewisePSFCell_integrate_vcircle_piece_dddddd.png +0 -0
  90. astrowisp-1.0.0/documentation/doxygen/images/PiecewisePSFCell_integrate_vspan_db.png +0 -0
  91. astrowisp-1.0.0/documentation/doxygen/images/PiecewisePSFCell_integrate_vspan_dd.png +0 -0
  92. astrowisp-1.0.0/documentation/doxygen/images/PiecewisePSFCell_integrate_wedge_ddd.png +0 -0
  93. astrowisp-1.0.0/documentation/doxygen/images/PiecewisePSF_multi_row_column_rectangle_iiiidddd.png +0 -0
  94. astrowisp-1.0.0/documentation/doxygen/images/PiecewisePSF_single_column_rectangle_iiidddd.png +0 -0
  95. astrowisp-1.0.0/documentation/doxygen/images/PiecewisePSF_single_column_wedge_iiidddd_dl.png +0 -0
  96. astrowisp-1.0.0/documentation/doxygen/images/PiecewisePSF_single_column_wedge_iiidddd_dr.png +0 -0
  97. astrowisp-1.0.0/documentation/doxygen/images/PiecewisePSF_single_column_wedge_iiidddd_ul.png +0 -0
  98. astrowisp-1.0.0/documentation/doxygen/images/PiecewisePSF_single_column_wedge_iiidddd_ur.png +0 -0
  99. astrowisp-1.0.0/documentation/doxygen/images/PiecewisePSF_single_row_rectangle_iiidddd.png +0 -0
  100. astrowisp-1.0.0/documentation/doxygen/images/circle_piece.png +0 -0
  101. astrowisp-1.0.0/documentation/doxygen/images/circle_wedge.eps +197 -0
  102. astrowisp-1.0.0/documentation/doxygen/images/circle_wedge.fig +48 -0
  103. astrowisp-1.0.0/documentation/doxygen/images/circle_wedge.png +0 -0
  104. astrowisp-1.0.0/documentation/doxygen/images/hcircle_piece.eps +282 -0
  105. astrowisp-1.0.0/documentation/doxygen/images/hcircle_piece.png +0 -0
  106. astrowisp-1.0.0/documentation/doxygen/images/hcircle_piece.xfig +53 -0
  107. astrowisp-1.0.0/documentation/doxygen/images/hcircle_piece_diagram.png +0 -0
  108. astrowisp-1.0.0/documentation/doxygen/images/rectangle.eps +201 -0
  109. astrowisp-1.0.0/documentation/doxygen/images/rectangle.fig +44 -0
  110. astrowisp-1.0.0/documentation/doxygen/images/rectangle.fig.bak +32 -0
  111. astrowisp-1.0.0/documentation/doxygen/images/rectangle.png +0 -0
  112. astrowisp-1.0.0/documentation/doxygen/images/useless_circle_wedge.eps +178 -0
  113. astrowisp-1.0.0/documentation/doxygen/images/useless_circle_wedge.fig +32 -0
  114. astrowisp-1.0.0/documentation/doxygen/images/useless_circle_wedge.png +0 -0
  115. astrowisp-1.0.0/documentation/doxygen/possible_improvements.md +15 -0
  116. astrowisp-1.0.0/documentation/sphinx/Makefile +40 -0
  117. astrowisp-1.0.0/documentation/sphinx/make.bat +36 -0
  118. astrowisp-1.0.0/documentation/sphinx/make_doc_src.sh +9 -0
  119. astrowisp-1.0.0/documentation/sphinx/source/.gitignore +2 -0
  120. astrowisp-1.0.0/documentation/sphinx/source/_static/unlimited_width.css +3 -0
  121. astrowisp-1.0.0/documentation/sphinx/source/conf.py +267 -0
  122. astrowisp-1.0.0/documentation/sphinx/source/index.rst +25 -0
  123. astrowisp-1.0.0/documentation/sphinx/source/installation.rst +137 -0
  124. astrowisp-1.0.0/documentation/sphinx/source/python_interface/aperture_photometry.rst +24 -0
  125. astrowisp-1.0.0/documentation/sphinx/source/python_interface/background.rst +37 -0
  126. astrowisp-1.0.0/documentation/sphinx/source/python_interface/example_mock_data.ipynb +614 -0
  127. astrowisp-1.0.0/documentation/sphinx/source/python_interface/fit_star_shape.rst +31 -0
  128. astrowisp-1.0.0/documentation/sphinx/source/python_interface/index.rst +12 -0
  129. astrowisp-1.0.0/documentation/sphinx/source/unit_tests.rst +9 -0
  130. astrowisp-1.0.0/fitsh-0.9.4-minimum/.gitignore +4 -0
  131. astrowisp-1.0.0/fitsh-0.9.4-minimum/AUTHORS +1 -0
  132. astrowisp-1.0.0/fitsh-0.9.4-minimum/CHANGELOG +182 -0
  133. astrowisp-1.0.0/fitsh-0.9.4-minimum/COPYING +621 -0
  134. astrowisp-1.0.0/fitsh-0.9.4-minimum/config.h +12 -0
  135. astrowisp-1.0.0/fitsh-0.9.4-minimum/include/fits/fits.h +787 -0
  136. astrowisp-1.0.0/fitsh-0.9.4-minimum/libfits/fits-bintable.c +520 -0
  137. astrowisp-1.0.0/fitsh-0.9.4-minimum/libfits/fits-common.c +229 -0
  138. astrowisp-1.0.0/fitsh-0.9.4-minimum/libfits/fits-common.h +94 -0
  139. astrowisp-1.0.0/fitsh-0.9.4-minimum/libfits/fits-core.c +930 -0
  140. astrowisp-1.0.0/fitsh-0.9.4-minimum/libfits/fits-draw.c +133 -0
  141. astrowisp-1.0.0/fitsh-0.9.4-minimum/libfits/fits-header.c +709 -0
  142. astrowisp-1.0.0/fitsh-0.9.4-minimum/libfits/fits-image.c +803 -0
  143. astrowisp-1.0.0/fitsh-0.9.4-minimum/libfits/fits-table.c +275 -0
  144. astrowisp-1.0.0/fitsh-0.9.4-minimum/libfits/fits-ui.c +204 -0
  145. astrowisp-1.0.0/fitsh-0.9.4-minimum/libfits/meson.build +17 -0
  146. astrowisp-1.0.0/fitsh-0.9.4-minimum/meson.build +8 -0
  147. astrowisp-1.0.0/fitsh-0.9.4-minimum/prepare +17 -0
  148. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/Makefile +370 -0
  149. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/background.c +77 -0
  150. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/background.h +34 -0
  151. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/cache.c +519 -0
  152. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/cache.h +134 -0
  153. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/common.c +163 -0
  154. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/common.h +37 -0
  155. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/fistar-io.c +643 -0
  156. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/fistar.c +1147 -0
  157. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/fistar.h +106 -0
  158. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/fitsh.h +116 -0
  159. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/fitsmask.c +716 -0
  160. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/fitsmask.h +120 -0
  161. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/grcollect.c +2208 -0
  162. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/imgtrans.c +241 -0
  163. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/imgtrans.h +15 -0
  164. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/index/multiindex.c +344 -0
  165. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/index/multiindex.h +70 -0
  166. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/index/sort.c +154 -0
  167. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/index/sort.h +30 -0
  168. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/io/format.c +315 -0
  169. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/io/format.h +48 -0
  170. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/io/iof.c +130 -0
  171. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/io/iof.h +59 -0
  172. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/io/scanarg.c +759 -0
  173. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/io/scanarg.h +140 -0
  174. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/io/tokenize.c +249 -0
  175. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/io/tokenize.h +78 -0
  176. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/link/floodfill.c +160 -0
  177. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/link/floodfill.h +25 -0
  178. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/link/link.h +15 -0
  179. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/link/linkblock.c +56 -0
  180. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/link/linkblock.h +27 -0
  181. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/link/linkpoint.c +370 -0
  182. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/link/linkpoint.h +143 -0
  183. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/longhelp.c +284 -0
  184. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/longhelp.h +64 -0
  185. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/magnitude.c +63 -0
  186. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/magnitude.h +25 -0
  187. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/Makefile +87 -0
  188. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/Makefile.in +87 -0
  189. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/convexhull.c +96 -0
  190. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/convexhull.h +20 -0
  191. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/cpmatch.c +500 -0
  192. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/cpmatch.h +93 -0
  193. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/delaunay.c +708 -0
  194. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/delaunay.h +53 -0
  195. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/dft/pbfft.c +211 -0
  196. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/dft/pbfft.h +26 -0
  197. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/elliptic/elliptic.c +247 -0
  198. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/elliptic/elliptic.h +26 -0
  199. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/elliptic/ntiq.c +725 -0
  200. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/elliptic/ntiq.h +19 -0
  201. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/expint/expint.c +251 -0
  202. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/expint/expint.h +76 -0
  203. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/fit/downhill.c +139 -0
  204. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/fit/downhill.h +33 -0
  205. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/fit/lmfit.c +531 -0
  206. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/fit/lmfit.h +141 -0
  207. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/intersec/intersec-cri.c +220 -0
  208. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/intersec/intersec-cri.h +22 -0
  209. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/intersec/intersec.c +113 -0
  210. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/intersec/intersec.h +38 -0
  211. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/matrixvector.c +229 -0
  212. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/matrixvector.h +36 -0
  213. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/point.h +20 -0
  214. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/poly.c +300 -0
  215. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/poly.h +73 -0
  216. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/polyfit.c +163 -0
  217. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/polyfit.h +41 -0
  218. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/polygon.c +241 -0
  219. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/polygon.h +25 -0
  220. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/spline/bicubic.c +132 -0
  221. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/spline/bicubic.h +32 -0
  222. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/spline/biquad-isc.c +732 -0
  223. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/spline/biquad-isc.h +65 -0
  224. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/spline/biquad.c +349 -0
  225. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/spline/biquad.h +83 -0
  226. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/spline/spline.c +288 -0
  227. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/spline/spline.h +57 -0
  228. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/splinefit.c +239 -0
  229. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/splinefit.h +43 -0
  230. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/spmatrix.c +589 -0
  231. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/spmatrix.h +54 -0
  232. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/tpoint.c +312 -0
  233. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/tpoint.h +58 -0
  234. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/trimatch.c +831 -0
  235. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/trimatch.h +67 -0
  236. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/meson.build +77 -0
  237. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/psf-base.c +45 -0
  238. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/psf-base.h +15 -0
  239. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/psf-determine.c +1020 -0
  240. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/psf-determine.h +74 -0
  241. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/psf-io.c +163 -0
  242. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/psf-io.h +39 -0
  243. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/psf.h +64 -0
  244. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/star-base.c +469 -0
  245. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/star-cand-biq.c +171 -0
  246. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/star-cand-lnk.c +231 -0
  247. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/star-cand-pp.c +286 -0
  248. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/star-cand-trb.c +275 -0
  249. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/star-draw.c +260 -0
  250. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/star-model.c +1891 -0
  251. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/star-model.h +64 -0
  252. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/star-psf.c +308 -0
  253. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/stars.h +307 -0
  254. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/statistics.c +74 -0
  255. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/statistics.h +30 -0
  256. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/str.c +87 -0
  257. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/str.h +35 -0
  258. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/tensor.c +84 -0
  259. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/tensor.h +38 -0
  260. astrowisp-1.0.0/fitsh-0.9.4-minimum/src/ui.c +249 -0
  261. astrowisp-1.0.0/list_imports.py +26 -0
  262. astrowisp-1.0.0/meson.build +147 -0
  263. astrowisp-1.0.0/pyproject.toml +149 -0
  264. astrowisp-1.0.0/src/.gitignore +9 -0
  265. astrowisp-1.0.0/src/.ycm_extra_conf.py +82 -0
  266. astrowisp-1.0.0/src/Background/Annulus.cpp +12 -0
  267. astrowisp-1.0.0/src/Background/Annulus.h +55 -0
  268. astrowisp-1.0.0/src/Background/CInterface.cpp +108 -0
  269. astrowisp-1.0.0/src/Background/CInterface.h +155 -0
  270. astrowisp-1.0.0/src/Background/CommandLineUtil.cpp +24 -0
  271. astrowisp-1.0.0/src/Background/CommandLineUtil.h +42 -0
  272. astrowisp-1.0.0/src/Background/Manual.cpp +23 -0
  273. astrowisp-1.0.0/src/Background/Manual.h +86 -0
  274. astrowisp-1.0.0/src/Background/Measure.h +49 -0
  275. astrowisp-1.0.0/src/Background/MeasureAnnulus.cpp +96 -0
  276. astrowisp-1.0.0/src/Background/MeasureAnnulus.h +113 -0
  277. astrowisp-1.0.0/src/Background/MeasureExcludingSources.cpp +71 -0
  278. astrowisp-1.0.0/src/Background/MeasureExcludingSources.h +145 -0
  279. astrowisp-1.0.0/src/Background/Source.cpp +20 -0
  280. astrowisp-1.0.0/src/Background/Source.h +78 -0
  281. astrowisp-1.0.0/src/Background/Zero.h +74 -0
  282. astrowisp-1.0.0/src/Core/CInterface.cpp +77 -0
  283. astrowisp-1.0.0/src/Core/CInterface.h +91 -0
  284. astrowisp-1.0.0/src/Core/CommandLineUtil.cpp +69 -0
  285. astrowisp-1.0.0/src/Core/CommandLineUtil.h +72 -0
  286. astrowisp-1.0.0/src/Core/Error.h +215 -0
  287. astrowisp-1.0.0/src/Core/Flux.h +60 -0
  288. astrowisp-1.0.0/src/Core/FluxPair.h +59 -0
  289. astrowisp-1.0.0/src/Core/Image.h +415 -0
  290. astrowisp-1.0.0/src/Core/NaN.h +29 -0
  291. astrowisp-1.0.0/src/Core/ParseCSV.cpp +195 -0
  292. astrowisp-1.0.0/src/Core/ParseCSV.h +117 -0
  293. astrowisp-1.0.0/src/Core/PhotColumns.h +118 -0
  294. astrowisp-1.0.0/src/Core/Point.h +44 -0
  295. astrowisp-1.0.0/src/Core/SDKSource.cpp +12 -0
  296. astrowisp-1.0.0/src/Core/SDKSource.h +106 -0
  297. astrowisp-1.0.0/src/Core/SharedLibraryExportMacros.h +23 -0
  298. astrowisp-1.0.0/src/Core/Source.h +206 -0
  299. astrowisp-1.0.0/src/Core/SourceID.cpp +63 -0
  300. astrowisp-1.0.0/src/Core/SourceID.h +157 -0
  301. astrowisp-1.0.0/src/Core/SourceLocation.h +55 -0
  302. astrowisp-1.0.0/src/Core/SubPixelCorrectedFlux.h +651 -0
  303. astrowisp-1.0.0/src/Core/SubPixelMap.cpp +23 -0
  304. astrowisp-1.0.0/src/Core/SubPixelMap.h +128 -0
  305. astrowisp-1.0.0/src/Core/Typedefs.h +57 -0
  306. astrowisp-1.0.0/src/FitPSF/AmplitudeSaturatedPixel.h +84 -0
  307. astrowisp-1.0.0/src/FitPSF/CInterface.cpp +530 -0
  308. astrowisp-1.0.0/src/FitPSF/CInterface.h +123 -0
  309. astrowisp-1.0.0/src/FitPSF/Common.cpp +76 -0
  310. astrowisp-1.0.0/src/FitPSF/Common.h +881 -0
  311. astrowisp-1.0.0/src/FitPSF/Config.cpp +348 -0
  312. astrowisp-1.0.0/src/FitPSF/Config.h +61 -0
  313. astrowisp-1.0.0/src/FitPSF/IOSources.cpp +39 -0
  314. astrowisp-1.0.0/src/FitPSF/IOSources.h +116 -0
  315. astrowisp-1.0.0/src/FitPSF/Image.h +352 -0
  316. astrowisp-1.0.0/src/FitPSF/LinearSource.cpp +265 -0
  317. astrowisp-1.0.0/src/FitPSF/LinearSource.h +504 -0
  318. astrowisp-1.0.0/src/FitPSF/OverlapGroup.h +725 -0
  319. astrowisp-1.0.0/src/FitPSF/OverlapSource.h +1361 -0
  320. astrowisp-1.0.0/src/FitPSF/PiecewiseBicubic.cpp +1561 -0
  321. astrowisp-1.0.0/src/FitPSF/PiecewiseBicubic.h +468 -0
  322. astrowisp-1.0.0/src/FitPSF/PiecewiseBicubicPSFSmoothing.cpp +198 -0
  323. astrowisp-1.0.0/src/FitPSF/PiecewiseBicubicPSFSmoothing.h +157 -0
  324. astrowisp-1.0.0/src/FitPSF/Pixel.cpp +34 -0
  325. astrowisp-1.0.0/src/FitPSF/Pixel.h +323 -0
  326. astrowisp-1.0.0/src/FitPSF/PixelOrder.h +77 -0
  327. astrowisp-1.0.0/src/FitPSF/PolynomialSDK.h +971 -0
  328. astrowisp-1.0.0/src/FitPSF/SDKSource.h +289 -0
  329. astrowisp-1.0.0/src/FitPSF/SDKSourceBase.cpp +248 -0
  330. astrowisp-1.0.0/src/FitPSF/SDKSourceBase.h +191 -0
  331. astrowisp-1.0.0/src/FitPSF/SDKUtil.cpp +106 -0
  332. astrowisp-1.0.0/src/FitPSF/SDKUtil.h +53 -0
  333. astrowisp-1.0.0/src/FitPSF/Source.h +383 -0
  334. astrowisp-1.0.0/src/IO/Binary.cpp +330 -0
  335. astrowisp-1.0.0/src/IO/Binary.h +58 -0
  336. astrowisp-1.0.0/src/IO/CInterface.cpp +519 -0
  337. astrowisp-1.0.0/src/IO/CInterface.h +184 -0
  338. astrowisp-1.0.0/src/IO/CommandLineConfig.cpp +158 -0
  339. astrowisp-1.0.0/src/IO/CommandLineConfig.h +118 -0
  340. astrowisp-1.0.0/src/IO/CommandLineUtil.cpp +53 -0
  341. astrowisp-1.0.0/src/IO/CommandLineUtil.h +38 -0
  342. astrowisp-1.0.0/src/IO/H5IODataTree.cpp +335 -0
  343. astrowisp-1.0.0/src/IO/H5IODataTree.h +284 -0
  344. astrowisp-1.0.0/src/IO/OutputArray.cpp +33 -0
  345. astrowisp-1.0.0/src/IO/OutputArray.h +164 -0
  346. astrowisp-1.0.0/src/IO/OutputSDKSource.h +94 -0
  347. astrowisp-1.0.0/src/IO/TranslateToAny.h +75 -0
  348. astrowisp-1.0.0/src/IO/parse_grid.cpp +47 -0
  349. astrowisp-1.0.0/src/IO/parse_grid.h +25 -0
  350. astrowisp-1.0.0/src/IO/parse_hat_mask.cpp +91 -0
  351. astrowisp-1.0.0/src/IO/parse_hat_mask.h +29 -0
  352. astrowisp-1.0.0/src/PSF/CInterface.cpp +80 -0
  353. astrowisp-1.0.0/src/PSF/CInterface.h +103 -0
  354. astrowisp-1.0.0/src/PSF/CirclePieceIntegral.cpp +184 -0
  355. astrowisp-1.0.0/src/PSF/CirclePieceIntegral.h +182 -0
  356. astrowisp-1.0.0/src/PSF/CommandLineUtil.cpp +36 -0
  357. astrowisp-1.0.0/src/PSF/CommandLineUtil.h +54 -0
  358. astrowisp-1.0.0/src/PSF/DataTreeCalculations.cpp +106 -0
  359. astrowisp-1.0.0/src/PSF/DataTreeCalculations.h +44 -0
  360. astrowisp-1.0.0/src/PSF/EllipticalGaussian.cpp +310 -0
  361. astrowisp-1.0.0/src/PSF/EllipticalGaussian.h +345 -0
  362. astrowisp-1.0.0/src/PSF/EllipticalGaussianIntegralByOrder.cpp +265 -0
  363. astrowisp-1.0.0/src/PSF/EllipticalGaussianIntegralByOrder.h +190 -0
  364. astrowisp-1.0.0/src/PSF/EllipticalGaussianIntegralRectangle.cpp +141 -0
  365. astrowisp-1.0.0/src/PSF/EllipticalGaussianIntegralRectangle.h +48 -0
  366. astrowisp-1.0.0/src/PSF/EllipticalGaussianIntegralWedge.cpp +152 -0
  367. astrowisp-1.0.0/src/PSF/EllipticalGaussianIntegralWedge.h +99 -0
  368. astrowisp-1.0.0/src/PSF/EllipticalGaussianMap.cpp +58 -0
  369. astrowisp-1.0.0/src/PSF/EllipticalGaussianMap.h +72 -0
  370. astrowisp-1.0.0/src/PSF/Grid.h +34 -0
  371. astrowisp-1.0.0/src/PSF/IntegralUtil.cpp +25 -0
  372. astrowisp-1.0.0/src/PSF/IntegralUtil.h +48 -0
  373. astrowisp-1.0.0/src/PSF/LocalPolynomial.cpp +118 -0
  374. astrowisp-1.0.0/src/PSF/LocalPolynomial.h +121 -0
  375. astrowisp-1.0.0/src/PSF/Map.cpp +49 -0
  376. astrowisp-1.0.0/src/PSF/Map.h +96 -0
  377. astrowisp-1.0.0/src/PSF/MapSource.h +59 -0
  378. astrowisp-1.0.0/src/PSF/MapSourceContainer.cpp +141 -0
  379. astrowisp-1.0.0/src/PSF/MapSourceContainer.h +48 -0
  380. astrowisp-1.0.0/src/PSF/PSF.cpp +280 -0
  381. astrowisp-1.0.0/src/PSF/PSF.h +204 -0
  382. astrowisp-1.0.0/src/PSF/Piecewise.cpp +962 -0
  383. astrowisp-1.0.0/src/PSF/Piecewise.h +655 -0
  384. astrowisp-1.0.0/src/PSF/PiecewiseBicubic.h +311 -0
  385. astrowisp-1.0.0/src/PSF/PiecewiseBicubicCell.cpp +138 -0
  386. astrowisp-1.0.0/src/PSF/PiecewiseBicubicCell.h +224 -0
  387. astrowisp-1.0.0/src/PSF/PiecewiseBicubicMap.cpp +207 -0
  388. astrowisp-1.0.0/src/PSF/PiecewiseBicubicMap.h +144 -0
  389. astrowisp-1.0.0/src/PSF/PiecewiseCell.h +862 -0
  390. astrowisp-1.0.0/src/PSF/Split.h +65 -0
  391. astrowisp-1.0.0/src/PSF/Typedefs.h +30 -0
  392. astrowisp-1.0.0/src/PSF/WedgeIntegral.cpp +209 -0
  393. astrowisp-1.0.0/src/PSF/WedgeIntegral.h +176 -0
  394. astrowisp-1.0.0/src/SubPixPhot/CInterface.cpp +105 -0
  395. astrowisp-1.0.0/src/SubPixPhot/CInterface.h +67 -0
  396. astrowisp-1.0.0/src/SubPixPhot/Common.h +157 -0
  397. astrowisp-1.0.0/src/SubPixPhot/Config.cpp +158 -0
  398. astrowisp-1.0.0/src/SubPixPhot/Config.h +78 -0
  399. astrowisp-1.0.0/src/SubPixPhot/SourceInput.cpp +131 -0
  400. astrowisp-1.0.0/src/SubPixPhot/SourceInput.h +162 -0
  401. astrowisp-1.0.0/src/SubPixPhot/SubPixPhotIO.cpp +271 -0
  402. astrowisp-1.0.0/src/SubPixPhot/SubPixPhotIO.h +134 -0
  403. astrowisp-1.0.0/src/VisualizePSFMap/VisualizePSFMap.cpp +578 -0
  404. astrowisp-1.0.0/src/VisualizePSFMap/VisualizePSFMap.h +51 -0
  405. astrowisp-1.0.0/src/debug/.gitignore +3 -0
  406. astrowisp-1.0.0/src/debug/Makefile +15 -0
  407. astrowisp-1.0.0/src/debug/apphot.cpp +15 -0
  408. astrowisp-1.0.0/src/debug/noiseless_psffit.cpp +471 -0
  409. astrowisp-1.0.0/src/debug/test_io_tree_updates.cpp +33 -0
  410. astrowisp-1.0.0/subprojects/.gitignore +2 -0
  411. astrowisp-1.0.0/subprojects/eigen.wrap +13 -0
@@ -0,0 +1,3 @@
1
+ *.py ident
2
+ *.h ident
3
+ docs/* export-ignore
@@ -0,0 +1,96 @@
1
+ name: Build
2
+
3
+ on: [workflow_dispatch]
4
+
5
+ jobs:
6
+ build_wheels_mac:
7
+ name: Build wheels on ${{ matrix.os }}
8
+ runs-on: ${{ matrix.os }}
9
+ strategy:
10
+ matrix:
11
+ # macos-13 is an intel runner, macos-14 is apple silicon
12
+ # So far has succeeded on:
13
+ # * ubuntu-latest,
14
+ # * macos-13,
15
+ # * windows-2019
16
+ #os: [ubuntu-latest, windows-2019, macos-13, macos-14]
17
+ os: [macos-13]
18
+
19
+ steps:
20
+ - uses: actions/checkout@v4
21
+
22
+ - name: Detect Boost Platform
23
+ if: ${{ matrix.os == 'macos-13' }}
24
+ run: echo "BOOST_PLATFORM=10.15" >> "$GITHUB_ENV"
25
+
26
+ - name: Detect Boost Platform
27
+ if: ${{ matrix.os == 'macos-14' }}
28
+ run: echo "BOOST_PLATFORM=14" >> "$GITHUB_ENV"
29
+
30
+ - name: Install Boost Mac/Windows
31
+ if: ${{ startsWith(matrix.os, 'mac') || startsWith(matrix.os, 'windows') }}
32
+ id: install-boost
33
+ uses: MarkusJx/install-boost@v2.4.5
34
+ with:
35
+ # REQUIRED: Specify the required boost version
36
+ # A list of supported versions can be found here:
37
+ # https://github.com/MarkusJx/prebuilt-boost/blob/main/versions-manifest.json
38
+ boost_version: ${{ matrix.os == 'macos-14' && '1.81.0' || '1.79.0' }}
39
+ # OPTIONAL: Specify a platform version
40
+ platform_version: ${{ startsWith(matrix.os, 'windows') && '2019' || env.BOOST_PLATFORM }}
41
+ toolset: ${{ startsWith(matrix.os, 'mac') && 'clang' || 'mingw' }}
42
+ arch: ${{ matrix.os == 'macos-14' && 'aarch64' || 'x86' }}
43
+ boost_install_dir: ${{github.workspace}}/external
44
+ # NOTE: If a boost version matching all requirements cannot be found,
45
+ # this build step will fail
46
+
47
+ - name: Build wheels
48
+ uses: pypa/cibuildwheel@v2.18.0
49
+ env:
50
+ MACOSX_DEPLOYMENT_TARGET: ${{ matrix.os == 'macos-14' && '14.0' || '10.15' }}
51
+ BOOST_ROOT: ${{ steps.install-boost.outputs.BOOST_ROOT }}
52
+ CIBW_DEBUG_KEEP_CONTAINER: True
53
+ #Work around MacOS idiocy per https://github.com/pypa/cibuildwheel/issues/816
54
+ CIBW_BEFORE_BUILD_LINUX: >
55
+ sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/CentOS-*.repo &&
56
+ sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/CentOS-*.repo &&
57
+ sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/CentOS-*.repo &&
58
+ yum -y -v install boost boost-thread boost-devel
59
+ CIBW_BEFORE_BUILD_WINDOWS: pip install wheel delvewheel
60
+ CIBW_REPAIR_WHEEL_COMMAND_MACOS: >
61
+ DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$BOOST_ROOT/lib delocate-listdeps {wheel} &&
62
+ DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$BOOST_ROOT/lib delocate-wheel --require-archs {delocate_archs} -w {dest_dir} {wheel}
63
+ #CIBW_REPAIR_WHEEL_COMMAND_WINDOWS:
64
+ # ls ${{ steps.install-boost.outputs.BOOST_ROOT }}/lib &&
65
+ # delvewheel show --add-path=$BOOST_ROOT/lib {wheel} &&
66
+ # delvewheel repair
67
+ # -v
68
+ # --add-path=${{ steps.install-boost.outputs.BOOST_ROOT }}/lib
69
+ # --wheel-dir={dest_dir}
70
+ # {wheel}
71
+ # CIBW_SOME_OPTION: value
72
+ # ...
73
+ # with:
74
+ # package-dir: .
75
+ # output-dir: wheelhouse
76
+ # config-file: "{package}/pyproject.toml"
77
+
78
+ #- name: Manual build
79
+ # if: ${{ !cancelled() }}
80
+ # env:
81
+ # BOOST_ROOT: ${{ steps.install-boost.outputs.BOOST_ROOT }}
82
+ # run: |
83
+ # python -m pip wheel ${{github.workspace}} -w dist -vvv --config-settings builddir=${{github.workspace}}\build
84
+
85
+ #- name: Upload meson-python install plan
86
+ # if: ${{ !cancelled() }}
87
+ # uses: actions/upload-artifact@v4
88
+ # with:
89
+ # name: install-plan-${{ matrix.os }}-${{ strategy.job-index }}
90
+ # path: ${{github.workspace}}\build\meson-info\intro-install_plan.json
91
+
92
+ - name: Upload wheels
93
+ uses: actions/upload-artifact@v4
94
+ with:
95
+ name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
96
+ path: ./wheelhouse/*.whl
@@ -0,0 +1,15 @@
1
+ .gradle
2
+ build
3
+ dist
4
+ .*.swp
5
+ .*.swo
6
+ *.outerr
7
+ *.txt
8
+ *.out
9
+ *.dSYM
10
+ doc_src
11
+ .ipynb_checkpoints
12
+ -
13
+ .AppleDouble
14
+ *.whl
15
+ PythonPackage/astrowisp/tests/test_data/test_stat_grcollect.csv
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Kaloyan Penev
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,101 @@
1
+ Metadata-Version: 2.1
2
+ Name: astrowisp
3
+ Version: 1.0.0
4
+ Summary: Tools for extracting photometry from wide-field night sky images
5
+ Author-Email: Kaloyan Penev <Kaloyan.Penev@utdallas.edu>, Angel Romero <Angel.Romero@utdallas.edu>, Ashkan Jafarzadeh <ashkan.jafarzadeh@utdallas.edu>, Istvan Domsa <istvan.domsa@gmail.com>
6
+ Maintainer-Email: Kaloyan Penev <Kaloyan.Penev@utdallas.edu>, Angel Romero <Angel.Romero@utdallas.edu>, Ashkan Jafarzadeh <ashkan.jafarzadeh@utdallas.edu>
7
+ License: MIT License
8
+
9
+ Copyright (c) 2024 Kaloyan Penev
10
+
11
+ Permission is hereby granted, free of charge, to any person obtaining a copy
12
+ of this software and associated documentation files (the "Software"), to deal
13
+ in the Software without restriction, including without limitation the rights
14
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
15
+ copies of the Software, and to permit persons to whom the Software is
16
+ furnished to do so, subject to the following conditions:
17
+
18
+ The above copyright notice and this permission notice shall be included in all
19
+ copies or substantial portions of the Software.
20
+
21
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
26
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
27
+ SOFTWARE.
28
+
29
+ Classifier: Development Status :: 4 - Beta
30
+ Classifier: Environment :: Console
31
+ Classifier: Operating System :: Microsoft :: Windows
32
+ Classifier: Operating System :: MacOS
33
+ Classifier: Operating System :: POSIX :: Linux
34
+ Classifier: Intended Audience :: Developers
35
+ Classifier: Intended Audience :: Science/Research
36
+ Classifier: License :: OSI Approved :: MIT License
37
+ Classifier: Programming Language :: C++
38
+ Classifier: Programming Language :: C
39
+ Classifier: Programming Language :: Python :: 3
40
+ Classifier: Topic :: Scientific/Engineering :: Image Processing
41
+ Classifier: Topic :: Scientific/Engineering :: Astronomy
42
+ Classifier: Topic :: Scientific/Engineering :: Physics
43
+ Project-URL: source, https://github.com/kpenev/AstroWISP
44
+ Project-URL: documentation, https://kpenev.github.io/AstroWISP/
45
+ Requires-Python: >=3.7
46
+ Requires-Dist: numpy<2
47
+ Requires-Dist: scipy
48
+ Requires-Dist: astropy
49
+ Provides-Extra: test
50
+ Requires-Dist: asteval; extra == "test"
51
+ Requires-Dist: pandas; extra == "test"
52
+ Provides-Extra: visualize
53
+ Requires-Dist: configargparse; extra == "visualize"
54
+ Requires-Dist: matplotlib; extra == "visualize"
55
+ Requires-Dist: xalglib; extra == "visualize"
56
+ Description-Content-Type: text/x-rst
57
+
58
+ AstroWISP: ``Astro``\ nomical ``W``\ idefield ``I``\ mages ``S``\ tellar ``P``\ hotometry
59
+ =========================================================================================
60
+
61
+ A tool for extracting stellar photometry from widefild color or monochrome
62
+ images of the night sky
63
+
64
+ [Full documentation](https://kpenev.github.io/AstroWISP/)
65
+
66
+ Currently the following photometry methods are supported, and in the future we
67
+ plan to add Image Subtraction:
68
+
69
+ PSF and PRF fitting
70
+ -------------------
71
+
72
+ Fit for the distribution of light from a star on the detector (usually
73
+ constrained to vary smoothly across stars) and an individual amplitude for each
74
+ star giving a measure of the flux.
75
+
76
+ Point Sread Function, or PSF, refers to the distribution of light hitting the
77
+ detector as a function of the offset from the source center. In order to predict
78
+ the value that a particular pixel should have given the PSF one needs to
79
+ integrate over the pixel the product of the PSF and the sensitivity of the pixel
80
+ at each position within the pixel.
81
+
82
+ Pixel Response Function, or PRF, incorporates the effect of the detector. The
83
+ value of the PRF at a given offset from the source center gives the value a
84
+ pixel centered at that location should have.
85
+
86
+ AstroWISP allows for both PSF and PRF fitting, imposing a requirement that
87
+ either function depends smoothly on the properties of the star being fit. The
88
+ dependence is parametrized as an arbitrary polynomial of fnuctions of the
89
+ relevant paramaters. Which properties it is allowed to depend on is entirely up
90
+ to the user. Typically at least the position of the source center on the
91
+ detector is included, but other properties can be included as well (e.g. the
92
+ color of the source, temperature of the telescope tube, etc.). Multiple images
93
+ can be fit simultaneously imposing the smooth dependence both within and across
94
+ images.
95
+
96
+ Aperture photometry
97
+ -------------------
98
+
99
+ Sum-up the flux in a circular aperture centered around each source. AstroWISP
100
+ handles pixels that span the aperture boundary by properly integrating the
101
+ product of th PSF and the sub-pixel sensitivity.
@@ -0,0 +1 @@
1
+ __pycache__