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.
- astrowisp-1.0.0/.gitattributes +3 -0
- astrowisp-1.0.0/.github/workflows/build_wheels.yml +96 -0
- astrowisp-1.0.0/.gitignore +15 -0
- astrowisp-1.0.0/LICENSE +21 -0
- astrowisp-1.0.0/PKG-INFO +101 -0
- astrowisp-1.0.0/PythonPackage/.gitignore +1 -0
- astrowisp-1.0.0/PythonPackage/.pylintrc +542 -0
- astrowisp-1.0.0/PythonPackage/astrowisp/.gitignore +1 -0
- astrowisp-1.0.0/PythonPackage/astrowisp/__init__.py +29 -0
- astrowisp-1.0.0/PythonPackage/astrowisp/__main__.py +4 -0
- astrowisp-1.0.0/PythonPackage/astrowisp/_initialize_library.py +464 -0
- astrowisp-1.0.0/PythonPackage/astrowisp/background.py +122 -0
- astrowisp-1.0.0/PythonPackage/astrowisp/fake_image/__init__.py +7 -0
- astrowisp-1.0.0/PythonPackage/astrowisp/fake_image/bipolynomial_psf_piece.py +75 -0
- astrowisp-1.0.0/PythonPackage/astrowisp/fake_image/image.py +92 -0
- astrowisp-1.0.0/PythonPackage/astrowisp/fake_image/meson.build +13 -0
- astrowisp-1.0.0/PythonPackage/astrowisp/fake_image/piecewise_bicubic_psf.py +142 -0
- astrowisp-1.0.0/PythonPackage/astrowisp/fake_image/piecewise_psf.py +132 -0
- astrowisp-1.0.0/PythonPackage/astrowisp/fake_image/psf_piece.py +40 -0
- astrowisp-1.0.0/PythonPackage/astrowisp/fit_star_shape.py +601 -0
- astrowisp-1.0.0/PythonPackage/astrowisp/hat_masks.py +51 -0
- astrowisp-1.0.0/PythonPackage/astrowisp/io_tree.py +379 -0
- astrowisp-1.0.0/PythonPackage/astrowisp/meson.build +22 -0
- astrowisp-1.0.0/PythonPackage/astrowisp/piecewise_bicubic_psf.py +148 -0
- astrowisp-1.0.0/PythonPackage/astrowisp/piecewise_bicubic_psf_map.py +59 -0
- astrowisp-1.0.0/PythonPackage/astrowisp/psf_base.py +125 -0
- astrowisp-1.0.0/PythonPackage/astrowisp/subpixphot.py +232 -0
- astrowisp-1.0.0/PythonPackage/astrowisp/tests/__init__.py +3 -0
- astrowisp-1.0.0/PythonPackage/astrowisp/tests/fitpsf/__init__.py +0 -0
- astrowisp-1.0.0/PythonPackage/astrowisp/tests/fitpsf/noiseless_tests.py +637 -0
- astrowisp-1.0.0/PythonPackage/astrowisp/tests/fitpsf/test_data/.gitignore +1 -0
- astrowisp-1.0.0/PythonPackage/astrowisp/tests/fitpsf/test_data/config_template.cfg +303 -0
- astrowisp-1.0.0/PythonPackage/astrowisp/tests/fitpsf/test_data/hdf5_structure.xml +221 -0
- astrowisp-1.0.0/PythonPackage/astrowisp/tests/fitpsf/utils.py +99 -0
- astrowisp-1.0.0/PythonPackage/astrowisp/tests/meson.build +17 -0
- astrowisp-1.0.0/PythonPackage/astrowisp/tests/test_background.py +300 -0
- astrowisp-1.0.0/PythonPackage/astrowisp/tests/test_data/XO1_test_img.fistar +237 -0
- astrowisp-1.0.0/PythonPackage/astrowisp/tests/test_data/XO1_test_img.fits +0 -0
- astrowisp-1.0.0/PythonPackage/astrowisp/tests/test_data/meson.build +4 -0
- astrowisp-1.0.0/PythonPackage/astrowisp/tests/test_fake_image.py +281 -0
- astrowisp-1.0.0/PythonPackage/astrowisp/tests/test_fistar.py +80 -0
- astrowisp-1.0.0/PythonPackage/astrowisp/tests/test_fit_star_shape/__init__.py +3 -0
- astrowisp-1.0.0/PythonPackage/astrowisp/tests/test_fit_star_shape/meson.build +10 -0
- astrowisp-1.0.0/PythonPackage/astrowisp/tests/test_fit_star_shape/noiseless_tests.py +717 -0
- astrowisp-1.0.0/PythonPackage/astrowisp/tests/test_fit_star_shape/utils.py +105 -0
- astrowisp-1.0.0/PythonPackage/astrowisp/tests/test_grcollect.py +244 -0
- astrowisp-1.0.0/PythonPackage/astrowisp/tests/test_piecewise_bicubic_psf.py +438 -0
- astrowisp-1.0.0/PythonPackage/astrowisp/tests/utilities.py +59 -0
- astrowisp-1.0.0/PythonPackage/astrowisp/utils/__init__.py +6 -0
- astrowisp-1.0.0/PythonPackage/astrowisp/utils/explore_prf.py +1736 -0
- astrowisp-1.0.0/PythonPackage/astrowisp/utils/file_utilities.py +86 -0
- astrowisp-1.0.0/PythonPackage/astrowisp/utils/meson.build +10 -0
- astrowisp-1.0.0/README.rst +44 -0
- astrowisp-1.0.0/create_source_list.py +18 -0
- astrowisp-1.0.0/documentation/doxygen/.gitignore +3 -0
- astrowisp-1.0.0/documentation/doxygen/BinaryOutputFormat.md +4 -0
- astrowisp-1.0.0/documentation/doxygen/Doxyfile +2430 -0
- astrowisp-1.0.0/documentation/doxygen/DoxygenLayout.xml +203 -0
- astrowisp-1.0.0/documentation/doxygen/FitPSF.md +28 -0
- astrowisp-1.0.0/documentation/doxygen/FitSubpix.md +24 -0
- astrowisp-1.0.0/documentation/doxygen/NRFitting.pdf +0 -0
- astrowisp-1.0.0/documentation/doxygen/NRFitting.tex +126 -0
- astrowisp-1.0.0/documentation/doxygen/Overview.md +28 -0
- astrowisp-1.0.0/documentation/doxygen/PSFFitting.pdf +0 -0
- astrowisp-1.0.0/documentation/doxygen/PSFFitting.tex +102 -0
- astrowisp-1.0.0/documentation/doxygen/PSFIntegrals.md +977 -0
- astrowisp-1.0.0/documentation/doxygen/PSFIntegralsImplementation.md +283 -0
- astrowisp-1.0.0/documentation/doxygen/PiecewiseBicubicFitPSF.md +403 -0
- astrowisp-1.0.0/documentation/doxygen/SubPixPhot.md +45 -0
- astrowisp-1.0.0/documentation/doxygen/SubPixPhot.pdf +0 -0
- astrowisp-1.0.0/documentation/doxygen/SubPixPhot.tex +571 -0
- astrowisp-1.0.0/documentation/doxygen/hdf5output_files.md +117 -0
- astrowisp-1.0.0/documentation/doxygen/images/PiecewisePSFCell_integrate_hcircle_piece_ddd.png +0 -0
- astrowisp-1.0.0/documentation/doxygen/images/PiecewisePSFCell_integrate_hcircle_piece_dddd.png +0 -0
- astrowisp-1.0.0/documentation/doxygen/images/PiecewisePSFCell_integrate_hcircle_piece_ddddd.png +0 -0
- astrowisp-1.0.0/documentation/doxygen/images/PiecewisePSFCell_integrate_hcircle_piece_dddddb.png +0 -0
- astrowisp-1.0.0/documentation/doxygen/images/PiecewisePSFCell_integrate_hcircle_piece_dddddd.png +0 -0
- astrowisp-1.0.0/documentation/doxygen/images/PiecewisePSFCell_integrate_hspan_db.png +0 -0
- astrowisp-1.0.0/documentation/doxygen/images/PiecewisePSFCell_integrate_hspan_dd.png +0 -0
- astrowisp-1.0.0/documentation/doxygen/images/PiecewisePSFCell_integrate_partial_hspan_dddb.png +0 -0
- astrowisp-1.0.0/documentation/doxygen/images/PiecewisePSFCell_integrate_partial_vspan_dddb.png +0 -0
- astrowisp-1.0.0/documentation/doxygen/images/PiecewisePSFCell_integrate_rectangle_ddbb.png +0 -0
- astrowisp-1.0.0/documentation/doxygen/images/PiecewisePSFCell_integrate_rectangle_dddd.png +0 -0
- astrowisp-1.0.0/documentation/doxygen/images/PiecewisePSFCell_integrate_vcircle_piece_ddd.png +0 -0
- astrowisp-1.0.0/documentation/doxygen/images/PiecewisePSFCell_integrate_vcircle_piece_dddd.png +0 -0
- astrowisp-1.0.0/documentation/doxygen/images/PiecewisePSFCell_integrate_vcircle_piece_ddddb.png +0 -0
- astrowisp-1.0.0/documentation/doxygen/images/PiecewisePSFCell_integrate_vcircle_piece_ddddd.png +0 -0
- astrowisp-1.0.0/documentation/doxygen/images/PiecewisePSFCell_integrate_vcircle_piece_dddddb.png +0 -0
- astrowisp-1.0.0/documentation/doxygen/images/PiecewisePSFCell_integrate_vcircle_piece_dddddd.png +0 -0
- astrowisp-1.0.0/documentation/doxygen/images/PiecewisePSFCell_integrate_vspan_db.png +0 -0
- astrowisp-1.0.0/documentation/doxygen/images/PiecewisePSFCell_integrate_vspan_dd.png +0 -0
- astrowisp-1.0.0/documentation/doxygen/images/PiecewisePSFCell_integrate_wedge_ddd.png +0 -0
- astrowisp-1.0.0/documentation/doxygen/images/PiecewisePSF_multi_row_column_rectangle_iiiidddd.png +0 -0
- astrowisp-1.0.0/documentation/doxygen/images/PiecewisePSF_single_column_rectangle_iiidddd.png +0 -0
- astrowisp-1.0.0/documentation/doxygen/images/PiecewisePSF_single_column_wedge_iiidddd_dl.png +0 -0
- astrowisp-1.0.0/documentation/doxygen/images/PiecewisePSF_single_column_wedge_iiidddd_dr.png +0 -0
- astrowisp-1.0.0/documentation/doxygen/images/PiecewisePSF_single_column_wedge_iiidddd_ul.png +0 -0
- astrowisp-1.0.0/documentation/doxygen/images/PiecewisePSF_single_column_wedge_iiidddd_ur.png +0 -0
- astrowisp-1.0.0/documentation/doxygen/images/PiecewisePSF_single_row_rectangle_iiidddd.png +0 -0
- astrowisp-1.0.0/documentation/doxygen/images/circle_piece.png +0 -0
- astrowisp-1.0.0/documentation/doxygen/images/circle_wedge.eps +197 -0
- astrowisp-1.0.0/documentation/doxygen/images/circle_wedge.fig +48 -0
- astrowisp-1.0.0/documentation/doxygen/images/circle_wedge.png +0 -0
- astrowisp-1.0.0/documentation/doxygen/images/hcircle_piece.eps +282 -0
- astrowisp-1.0.0/documentation/doxygen/images/hcircle_piece.png +0 -0
- astrowisp-1.0.0/documentation/doxygen/images/hcircle_piece.xfig +53 -0
- astrowisp-1.0.0/documentation/doxygen/images/hcircle_piece_diagram.png +0 -0
- astrowisp-1.0.0/documentation/doxygen/images/rectangle.eps +201 -0
- astrowisp-1.0.0/documentation/doxygen/images/rectangle.fig +44 -0
- astrowisp-1.0.0/documentation/doxygen/images/rectangle.fig.bak +32 -0
- astrowisp-1.0.0/documentation/doxygen/images/rectangle.png +0 -0
- astrowisp-1.0.0/documentation/doxygen/images/useless_circle_wedge.eps +178 -0
- astrowisp-1.0.0/documentation/doxygen/images/useless_circle_wedge.fig +32 -0
- astrowisp-1.0.0/documentation/doxygen/images/useless_circle_wedge.png +0 -0
- astrowisp-1.0.0/documentation/doxygen/possible_improvements.md +15 -0
- astrowisp-1.0.0/documentation/sphinx/Makefile +40 -0
- astrowisp-1.0.0/documentation/sphinx/make.bat +36 -0
- astrowisp-1.0.0/documentation/sphinx/make_doc_src.sh +9 -0
- astrowisp-1.0.0/documentation/sphinx/source/.gitignore +2 -0
- astrowisp-1.0.0/documentation/sphinx/source/_static/unlimited_width.css +3 -0
- astrowisp-1.0.0/documentation/sphinx/source/conf.py +267 -0
- astrowisp-1.0.0/documentation/sphinx/source/index.rst +25 -0
- astrowisp-1.0.0/documentation/sphinx/source/installation.rst +137 -0
- astrowisp-1.0.0/documentation/sphinx/source/python_interface/aperture_photometry.rst +24 -0
- astrowisp-1.0.0/documentation/sphinx/source/python_interface/background.rst +37 -0
- astrowisp-1.0.0/documentation/sphinx/source/python_interface/example_mock_data.ipynb +614 -0
- astrowisp-1.0.0/documentation/sphinx/source/python_interface/fit_star_shape.rst +31 -0
- astrowisp-1.0.0/documentation/sphinx/source/python_interface/index.rst +12 -0
- astrowisp-1.0.0/documentation/sphinx/source/unit_tests.rst +9 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/.gitignore +4 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/AUTHORS +1 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/CHANGELOG +182 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/COPYING +621 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/config.h +12 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/include/fits/fits.h +787 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/libfits/fits-bintable.c +520 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/libfits/fits-common.c +229 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/libfits/fits-common.h +94 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/libfits/fits-core.c +930 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/libfits/fits-draw.c +133 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/libfits/fits-header.c +709 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/libfits/fits-image.c +803 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/libfits/fits-table.c +275 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/libfits/fits-ui.c +204 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/libfits/meson.build +17 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/meson.build +8 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/prepare +17 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/Makefile +370 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/background.c +77 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/background.h +34 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/cache.c +519 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/cache.h +134 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/common.c +163 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/common.h +37 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/fistar-io.c +643 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/fistar.c +1147 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/fistar.h +106 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/fitsh.h +116 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/fitsmask.c +716 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/fitsmask.h +120 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/grcollect.c +2208 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/imgtrans.c +241 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/imgtrans.h +15 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/index/multiindex.c +344 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/index/multiindex.h +70 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/index/sort.c +154 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/index/sort.h +30 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/io/format.c +315 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/io/format.h +48 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/io/iof.c +130 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/io/iof.h +59 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/io/scanarg.c +759 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/io/scanarg.h +140 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/io/tokenize.c +249 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/io/tokenize.h +78 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/link/floodfill.c +160 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/link/floodfill.h +25 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/link/link.h +15 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/link/linkblock.c +56 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/link/linkblock.h +27 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/link/linkpoint.c +370 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/link/linkpoint.h +143 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/longhelp.c +284 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/longhelp.h +64 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/magnitude.c +63 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/magnitude.h +25 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/Makefile +87 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/Makefile.in +87 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/convexhull.c +96 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/convexhull.h +20 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/cpmatch.c +500 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/cpmatch.h +93 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/delaunay.c +708 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/delaunay.h +53 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/dft/pbfft.c +211 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/dft/pbfft.h +26 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/elliptic/elliptic.c +247 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/elliptic/elliptic.h +26 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/elliptic/ntiq.c +725 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/elliptic/ntiq.h +19 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/expint/expint.c +251 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/expint/expint.h +76 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/fit/downhill.c +139 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/fit/downhill.h +33 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/fit/lmfit.c +531 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/fit/lmfit.h +141 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/intersec/intersec-cri.c +220 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/intersec/intersec-cri.h +22 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/intersec/intersec.c +113 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/intersec/intersec.h +38 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/matrixvector.c +229 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/matrixvector.h +36 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/point.h +20 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/poly.c +300 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/poly.h +73 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/polyfit.c +163 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/polyfit.h +41 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/polygon.c +241 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/polygon.h +25 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/spline/bicubic.c +132 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/spline/bicubic.h +32 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/spline/biquad-isc.c +732 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/spline/biquad-isc.h +65 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/spline/biquad.c +349 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/spline/biquad.h +83 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/spline/spline.c +288 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/spline/spline.h +57 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/splinefit.c +239 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/splinefit.h +43 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/spmatrix.c +589 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/spmatrix.h +54 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/tpoint.c +312 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/tpoint.h +58 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/trimatch.c +831 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/math/trimatch.h +67 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/meson.build +77 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/psf-base.c +45 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/psf-base.h +15 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/psf-determine.c +1020 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/psf-determine.h +74 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/psf-io.c +163 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/psf-io.h +39 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/psf.h +64 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/star-base.c +469 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/star-cand-biq.c +171 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/star-cand-lnk.c +231 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/star-cand-pp.c +286 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/star-cand-trb.c +275 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/star-draw.c +260 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/star-model.c +1891 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/star-model.h +64 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/star-psf.c +308 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/stars.h +307 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/statistics.c +74 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/statistics.h +30 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/str.c +87 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/str.h +35 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/tensor.c +84 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/tensor.h +38 -0
- astrowisp-1.0.0/fitsh-0.9.4-minimum/src/ui.c +249 -0
- astrowisp-1.0.0/list_imports.py +26 -0
- astrowisp-1.0.0/meson.build +147 -0
- astrowisp-1.0.0/pyproject.toml +149 -0
- astrowisp-1.0.0/src/.gitignore +9 -0
- astrowisp-1.0.0/src/.ycm_extra_conf.py +82 -0
- astrowisp-1.0.0/src/Background/Annulus.cpp +12 -0
- astrowisp-1.0.0/src/Background/Annulus.h +55 -0
- astrowisp-1.0.0/src/Background/CInterface.cpp +108 -0
- astrowisp-1.0.0/src/Background/CInterface.h +155 -0
- astrowisp-1.0.0/src/Background/CommandLineUtil.cpp +24 -0
- astrowisp-1.0.0/src/Background/CommandLineUtil.h +42 -0
- astrowisp-1.0.0/src/Background/Manual.cpp +23 -0
- astrowisp-1.0.0/src/Background/Manual.h +86 -0
- astrowisp-1.0.0/src/Background/Measure.h +49 -0
- astrowisp-1.0.0/src/Background/MeasureAnnulus.cpp +96 -0
- astrowisp-1.0.0/src/Background/MeasureAnnulus.h +113 -0
- astrowisp-1.0.0/src/Background/MeasureExcludingSources.cpp +71 -0
- astrowisp-1.0.0/src/Background/MeasureExcludingSources.h +145 -0
- astrowisp-1.0.0/src/Background/Source.cpp +20 -0
- astrowisp-1.0.0/src/Background/Source.h +78 -0
- astrowisp-1.0.0/src/Background/Zero.h +74 -0
- astrowisp-1.0.0/src/Core/CInterface.cpp +77 -0
- astrowisp-1.0.0/src/Core/CInterface.h +91 -0
- astrowisp-1.0.0/src/Core/CommandLineUtil.cpp +69 -0
- astrowisp-1.0.0/src/Core/CommandLineUtil.h +72 -0
- astrowisp-1.0.0/src/Core/Error.h +215 -0
- astrowisp-1.0.0/src/Core/Flux.h +60 -0
- astrowisp-1.0.0/src/Core/FluxPair.h +59 -0
- astrowisp-1.0.0/src/Core/Image.h +415 -0
- astrowisp-1.0.0/src/Core/NaN.h +29 -0
- astrowisp-1.0.0/src/Core/ParseCSV.cpp +195 -0
- astrowisp-1.0.0/src/Core/ParseCSV.h +117 -0
- astrowisp-1.0.0/src/Core/PhotColumns.h +118 -0
- astrowisp-1.0.0/src/Core/Point.h +44 -0
- astrowisp-1.0.0/src/Core/SDKSource.cpp +12 -0
- astrowisp-1.0.0/src/Core/SDKSource.h +106 -0
- astrowisp-1.0.0/src/Core/SharedLibraryExportMacros.h +23 -0
- astrowisp-1.0.0/src/Core/Source.h +206 -0
- astrowisp-1.0.0/src/Core/SourceID.cpp +63 -0
- astrowisp-1.0.0/src/Core/SourceID.h +157 -0
- astrowisp-1.0.0/src/Core/SourceLocation.h +55 -0
- astrowisp-1.0.0/src/Core/SubPixelCorrectedFlux.h +651 -0
- astrowisp-1.0.0/src/Core/SubPixelMap.cpp +23 -0
- astrowisp-1.0.0/src/Core/SubPixelMap.h +128 -0
- astrowisp-1.0.0/src/Core/Typedefs.h +57 -0
- astrowisp-1.0.0/src/FitPSF/AmplitudeSaturatedPixel.h +84 -0
- astrowisp-1.0.0/src/FitPSF/CInterface.cpp +530 -0
- astrowisp-1.0.0/src/FitPSF/CInterface.h +123 -0
- astrowisp-1.0.0/src/FitPSF/Common.cpp +76 -0
- astrowisp-1.0.0/src/FitPSF/Common.h +881 -0
- astrowisp-1.0.0/src/FitPSF/Config.cpp +348 -0
- astrowisp-1.0.0/src/FitPSF/Config.h +61 -0
- astrowisp-1.0.0/src/FitPSF/IOSources.cpp +39 -0
- astrowisp-1.0.0/src/FitPSF/IOSources.h +116 -0
- astrowisp-1.0.0/src/FitPSF/Image.h +352 -0
- astrowisp-1.0.0/src/FitPSF/LinearSource.cpp +265 -0
- astrowisp-1.0.0/src/FitPSF/LinearSource.h +504 -0
- astrowisp-1.0.0/src/FitPSF/OverlapGroup.h +725 -0
- astrowisp-1.0.0/src/FitPSF/OverlapSource.h +1361 -0
- astrowisp-1.0.0/src/FitPSF/PiecewiseBicubic.cpp +1561 -0
- astrowisp-1.0.0/src/FitPSF/PiecewiseBicubic.h +468 -0
- astrowisp-1.0.0/src/FitPSF/PiecewiseBicubicPSFSmoothing.cpp +198 -0
- astrowisp-1.0.0/src/FitPSF/PiecewiseBicubicPSFSmoothing.h +157 -0
- astrowisp-1.0.0/src/FitPSF/Pixel.cpp +34 -0
- astrowisp-1.0.0/src/FitPSF/Pixel.h +323 -0
- astrowisp-1.0.0/src/FitPSF/PixelOrder.h +77 -0
- astrowisp-1.0.0/src/FitPSF/PolynomialSDK.h +971 -0
- astrowisp-1.0.0/src/FitPSF/SDKSource.h +289 -0
- astrowisp-1.0.0/src/FitPSF/SDKSourceBase.cpp +248 -0
- astrowisp-1.0.0/src/FitPSF/SDKSourceBase.h +191 -0
- astrowisp-1.0.0/src/FitPSF/SDKUtil.cpp +106 -0
- astrowisp-1.0.0/src/FitPSF/SDKUtil.h +53 -0
- astrowisp-1.0.0/src/FitPSF/Source.h +383 -0
- astrowisp-1.0.0/src/IO/Binary.cpp +330 -0
- astrowisp-1.0.0/src/IO/Binary.h +58 -0
- astrowisp-1.0.0/src/IO/CInterface.cpp +519 -0
- astrowisp-1.0.0/src/IO/CInterface.h +184 -0
- astrowisp-1.0.0/src/IO/CommandLineConfig.cpp +158 -0
- astrowisp-1.0.0/src/IO/CommandLineConfig.h +118 -0
- astrowisp-1.0.0/src/IO/CommandLineUtil.cpp +53 -0
- astrowisp-1.0.0/src/IO/CommandLineUtil.h +38 -0
- astrowisp-1.0.0/src/IO/H5IODataTree.cpp +335 -0
- astrowisp-1.0.0/src/IO/H5IODataTree.h +284 -0
- astrowisp-1.0.0/src/IO/OutputArray.cpp +33 -0
- astrowisp-1.0.0/src/IO/OutputArray.h +164 -0
- astrowisp-1.0.0/src/IO/OutputSDKSource.h +94 -0
- astrowisp-1.0.0/src/IO/TranslateToAny.h +75 -0
- astrowisp-1.0.0/src/IO/parse_grid.cpp +47 -0
- astrowisp-1.0.0/src/IO/parse_grid.h +25 -0
- astrowisp-1.0.0/src/IO/parse_hat_mask.cpp +91 -0
- astrowisp-1.0.0/src/IO/parse_hat_mask.h +29 -0
- astrowisp-1.0.0/src/PSF/CInterface.cpp +80 -0
- astrowisp-1.0.0/src/PSF/CInterface.h +103 -0
- astrowisp-1.0.0/src/PSF/CirclePieceIntegral.cpp +184 -0
- astrowisp-1.0.0/src/PSF/CirclePieceIntegral.h +182 -0
- astrowisp-1.0.0/src/PSF/CommandLineUtil.cpp +36 -0
- astrowisp-1.0.0/src/PSF/CommandLineUtil.h +54 -0
- astrowisp-1.0.0/src/PSF/DataTreeCalculations.cpp +106 -0
- astrowisp-1.0.0/src/PSF/DataTreeCalculations.h +44 -0
- astrowisp-1.0.0/src/PSF/EllipticalGaussian.cpp +310 -0
- astrowisp-1.0.0/src/PSF/EllipticalGaussian.h +345 -0
- astrowisp-1.0.0/src/PSF/EllipticalGaussianIntegralByOrder.cpp +265 -0
- astrowisp-1.0.0/src/PSF/EllipticalGaussianIntegralByOrder.h +190 -0
- astrowisp-1.0.0/src/PSF/EllipticalGaussianIntegralRectangle.cpp +141 -0
- astrowisp-1.0.0/src/PSF/EllipticalGaussianIntegralRectangle.h +48 -0
- astrowisp-1.0.0/src/PSF/EllipticalGaussianIntegralWedge.cpp +152 -0
- astrowisp-1.0.0/src/PSF/EllipticalGaussianIntegralWedge.h +99 -0
- astrowisp-1.0.0/src/PSF/EllipticalGaussianMap.cpp +58 -0
- astrowisp-1.0.0/src/PSF/EllipticalGaussianMap.h +72 -0
- astrowisp-1.0.0/src/PSF/Grid.h +34 -0
- astrowisp-1.0.0/src/PSF/IntegralUtil.cpp +25 -0
- astrowisp-1.0.0/src/PSF/IntegralUtil.h +48 -0
- astrowisp-1.0.0/src/PSF/LocalPolynomial.cpp +118 -0
- astrowisp-1.0.0/src/PSF/LocalPolynomial.h +121 -0
- astrowisp-1.0.0/src/PSF/Map.cpp +49 -0
- astrowisp-1.0.0/src/PSF/Map.h +96 -0
- astrowisp-1.0.0/src/PSF/MapSource.h +59 -0
- astrowisp-1.0.0/src/PSF/MapSourceContainer.cpp +141 -0
- astrowisp-1.0.0/src/PSF/MapSourceContainer.h +48 -0
- astrowisp-1.0.0/src/PSF/PSF.cpp +280 -0
- astrowisp-1.0.0/src/PSF/PSF.h +204 -0
- astrowisp-1.0.0/src/PSF/Piecewise.cpp +962 -0
- astrowisp-1.0.0/src/PSF/Piecewise.h +655 -0
- astrowisp-1.0.0/src/PSF/PiecewiseBicubic.h +311 -0
- astrowisp-1.0.0/src/PSF/PiecewiseBicubicCell.cpp +138 -0
- astrowisp-1.0.0/src/PSF/PiecewiseBicubicCell.h +224 -0
- astrowisp-1.0.0/src/PSF/PiecewiseBicubicMap.cpp +207 -0
- astrowisp-1.0.0/src/PSF/PiecewiseBicubicMap.h +144 -0
- astrowisp-1.0.0/src/PSF/PiecewiseCell.h +862 -0
- astrowisp-1.0.0/src/PSF/Split.h +65 -0
- astrowisp-1.0.0/src/PSF/Typedefs.h +30 -0
- astrowisp-1.0.0/src/PSF/WedgeIntegral.cpp +209 -0
- astrowisp-1.0.0/src/PSF/WedgeIntegral.h +176 -0
- astrowisp-1.0.0/src/SubPixPhot/CInterface.cpp +105 -0
- astrowisp-1.0.0/src/SubPixPhot/CInterface.h +67 -0
- astrowisp-1.0.0/src/SubPixPhot/Common.h +157 -0
- astrowisp-1.0.0/src/SubPixPhot/Config.cpp +158 -0
- astrowisp-1.0.0/src/SubPixPhot/Config.h +78 -0
- astrowisp-1.0.0/src/SubPixPhot/SourceInput.cpp +131 -0
- astrowisp-1.0.0/src/SubPixPhot/SourceInput.h +162 -0
- astrowisp-1.0.0/src/SubPixPhot/SubPixPhotIO.cpp +271 -0
- astrowisp-1.0.0/src/SubPixPhot/SubPixPhotIO.h +134 -0
- astrowisp-1.0.0/src/VisualizePSFMap/VisualizePSFMap.cpp +578 -0
- astrowisp-1.0.0/src/VisualizePSFMap/VisualizePSFMap.h +51 -0
- astrowisp-1.0.0/src/debug/.gitignore +3 -0
- astrowisp-1.0.0/src/debug/Makefile +15 -0
- astrowisp-1.0.0/src/debug/apphot.cpp +15 -0
- astrowisp-1.0.0/src/debug/noiseless_psffit.cpp +471 -0
- astrowisp-1.0.0/src/debug/test_io_tree_updates.cpp +33 -0
- astrowisp-1.0.0/subprojects/.gitignore +2 -0
- astrowisp-1.0.0/subprojects/eigen.wrap +13 -0
|
@@ -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
|
astrowisp-1.0.0/LICENSE
ADDED
|
@@ -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.
|
astrowisp-1.0.0/PKG-INFO
ADDED
|
@@ -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__
|