Skip to main content

Point spread function modeling and regularization

Project description

regularizepsf

codecov DOI PyPI version CI

A package for manipulating and correcting variable point spread functions.

Below is an example of correcting model data using the package. An initial image of a simplified starfield (a) is synthetically observed with a slowly varying PSF (b), then regularized with this technique (c). The final image visually matches a direct convolution of the initial image with the target PSF (d). The panels are gamma-corrected to highlight the periphery of the model PSFs. Example result image

Getting started

pip install regularizepsf and then follow along with the documentation.

Contributing

We encourage all contributions. If you have a problem with the code or would like to see a new feature, please open an issue. Or you can submit a pull request.

If you're contributing code please see this package's development guide.

License

See LICENSE file

Need help?

Please ask a question in our discussions

Citation

Please cite the associated paper if you use this technique:

@article{Hughes_2023,
doi = {10.3847/1538-3881/acc578},
url = {https://dx.doi.org/10.3847/1538-3881/acc578},
year = {2023},
month = {apr},
publisher = {The American Astronomical Society},
volume = {165},
number = {5},
pages = {204},
author = {J. Marcus Hughes and Craig E. DeForest and Daniel B. Seaton},
title = {Coma Off It: Regularizing Variable Point-spread Functions},
journal = {The Astronomical Journal}
}

If you use this software, please also cite the package with the specific version used. Zenodo always has the most up-to-date citation.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

regularizepsf-0.3.2.tar.gz (119.1 kB view hashes)

Uploaded Source

Built Distributions

regularizepsf-0.3.2-pp310-pypy310_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (77.7 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

regularizepsf-0.3.2-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (79.7 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

regularizepsf-0.3.2-pp310-pypy310_pp73-macosx_11_0_arm64.whl (70.3 kB view hashes)

Uploaded PyPy macOS 11.0+ ARM64

regularizepsf-0.3.2-pp310-pypy310_pp73-macosx_10_9_x86_64.whl (72.0 kB view hashes)

Uploaded PyPy macOS 10.9+ x86-64

regularizepsf-0.3.2-pp39-pypy39_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (77.6 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

regularizepsf-0.3.2-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (79.6 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

regularizepsf-0.3.2-pp39-pypy39_pp73-macosx_11_0_arm64.whl (70.3 kB view hashes)

Uploaded PyPy macOS 11.0+ ARM64

regularizepsf-0.3.2-pp39-pypy39_pp73-macosx_10_9_x86_64.whl (72.0 kB view hashes)

Uploaded PyPy macOS 10.9+ x86-64

regularizepsf-0.3.2-cp312-cp312-musllinux_1_1_x86_64.whl (309.0 kB view hashes)

Uploaded CPython 3.12 musllinux: musl 1.1+ x86-64

regularizepsf-0.3.2-cp312-cp312-musllinux_1_1_i686.whl (298.4 kB view hashes)

Uploaded CPython 3.12 musllinux: musl 1.1+ i686

regularizepsf-0.3.2-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (313.4 kB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

regularizepsf-0.3.2-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (298.3 kB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

regularizepsf-0.3.2-cp312-cp312-macosx_11_0_arm64.whl (79.5 kB view hashes)

Uploaded CPython 3.12 macOS 11.0+ ARM64

regularizepsf-0.3.2-cp312-cp312-macosx_10_9_x86_64.whl (81.9 kB view hashes)

Uploaded CPython 3.12 macOS 10.9+ x86-64

regularizepsf-0.3.2-cp311-cp311-musllinux_1_1_x86_64.whl (315.4 kB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.1+ x86-64

regularizepsf-0.3.2-cp311-cp311-musllinux_1_1_i686.whl (303.0 kB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.1+ i686

regularizepsf-0.3.2-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (314.2 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

regularizepsf-0.3.2-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (301.7 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

regularizepsf-0.3.2-cp311-cp311-macosx_11_0_arm64.whl (80.1 kB view hashes)

Uploaded CPython 3.11 macOS 11.0+ ARM64

regularizepsf-0.3.2-cp311-cp311-macosx_10_9_x86_64.whl (83.8 kB view hashes)

Uploaded CPython 3.11 macOS 10.9+ x86-64

regularizepsf-0.3.2-cp310-cp310-musllinux_1_1_x86_64.whl (292.7 kB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ x86-64

regularizepsf-0.3.2-cp310-cp310-musllinux_1_1_i686.whl (283.0 kB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ i686

regularizepsf-0.3.2-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (286.8 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

regularizepsf-0.3.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (276.5 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

regularizepsf-0.3.2-cp310-cp310-macosx_11_0_arm64.whl (80.1 kB view hashes)

Uploaded CPython 3.10 macOS 11.0+ ARM64

regularizepsf-0.3.2-cp310-cp310-macosx_10_9_x86_64.whl (83.8 kB view hashes)

Uploaded CPython 3.10 macOS 10.9+ x86-64

regularizepsf-0.3.2-cp39-cp39-musllinux_1_1_x86_64.whl (292.6 kB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.1+ x86-64

regularizepsf-0.3.2-cp39-cp39-musllinux_1_1_i686.whl (282.8 kB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.1+ i686

regularizepsf-0.3.2-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (286.6 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

regularizepsf-0.3.2-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (276.3 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

regularizepsf-0.3.2-cp39-cp39-macosx_11_0_arm64.whl (80.1 kB view hashes)

Uploaded CPython 3.9 macOS 11.0+ ARM64

regularizepsf-0.3.2-cp39-cp39-macosx_10_9_x86_64.whl (83.8 kB view hashes)

Uploaded CPython 3.9 macOS 10.9+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page