Point spread function modeling and regularization
Project description
regularizepsf
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.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for regularizepsf-0.4.0-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee0f5d34163f94320992eead34f62e3fb353533f1ecdb4b99e7c125ba902ad98 |
|
MD5 | 2cc281f680321f932160d26f14cec142 |
|
BLAKE2b-256 | c1ab687d71950af41edfa69ca715988aca5c8de9bc90574dada6e86f729ebe11 |
Hashes for regularizepsf-0.4.0-cp313-cp313-musllinux_1_2_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f41d328897a0813e30742d05bf8ddf12aac18347165f26ba1655459747d4b4e9 |
|
MD5 | 0cb0d1509dc039ec5f34974bdd180f98 |
|
BLAKE2b-256 | 82df2a6f2a4f99d375e6b46380dcaada51abcf3bfbe6575b5bb3f3051ee8aca9 |
Hashes for regularizepsf-0.4.0-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b93c13818530c51769e57db2f71f00ec5c2d7722bb719193eac0bbcf612c90f4 |
|
MD5 | 82911d93cd9d8cfb84c3067cfa3a3c13 |
|
BLAKE2b-256 | be73b32be1c298fcd5846be30d7bbac088f5c07f136edb3534690a9399bb72b8 |
Hashes for regularizepsf-0.4.0-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5960cb9b3ff405c74c12bc8309029656acc430f4413d01aa9bed8d881cd7dacb |
|
MD5 | 1840ba2c2cac56d4b61182e2afb57bc6 |
|
BLAKE2b-256 | c92df882984aec327d338b586e2c04645c0498fc2a1bda75d886fc0cf376e6a2 |
Hashes for regularizepsf-0.4.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4efd2f2ef533b94b965b579d0f0a942b5dbd99ac0194e41cf396c062419834be |
|
MD5 | d07746786644e06144254b621e18ca09 |
|
BLAKE2b-256 | a60ee25e63596eed5e8e4aa2aea54df90c24ea04b717f3f87a534772b9eba9b3 |
Hashes for regularizepsf-0.4.0-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ba8400d56011fb8fd18a6de5e9021987e16b12dbb734902a44480628f089f18 |
|
MD5 | 61c82f5eb7ef0778dabf4cf8d48614c7 |
|
BLAKE2b-256 | a9d34e282d8201bee4cfea4e3dbc40cc3efd23502bd1110ac521f4c5a238e49c |
Hashes for regularizepsf-0.4.0-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56804ec141fce6585e5a0bdbceb5b35053cd372a0c6d9413ac0e9fb50ca0f69c |
|
MD5 | 40cb70b327e4bd7cf6cfc4ac97f7a19e |
|
BLAKE2b-256 | 07a4649a23c216eb7e406cbb28464d6a5fae7eb1e77c6fee98b5349efa464dff |
Hashes for regularizepsf-0.4.0-cp312-cp312-musllinux_1_2_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea26beed07b504570fbeab4981370f1617f7b7eae8d84523282af1e3dd466155 |
|
MD5 | d0279124b03b19665a398e3f245c33b3 |
|
BLAKE2b-256 | e434d7e337a3dce77f7fb3d6d51c9de1ff2d92162649189c08f53a4eaf8ba23f |
Hashes for regularizepsf-0.4.0-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f59300d34e3b5b389190664ece8f7e8e5b42236e21ce38e95dda298dae134e07 |
|
MD5 | 586d660551306da1e0365fa03604937d |
|
BLAKE2b-256 | b34a920219ef35b60df097a2eb9a7f01c825b892cdbd88c8526b130f27bea119 |
Hashes for regularizepsf-0.4.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90e219edc4bb43cb7f261bc6b66841d6fb70bbfa555a692df03e5ac6f36b5291 |
|
MD5 | 88c3ec51a567bceab5eaeea8ceffd3f7 |
|
BLAKE2b-256 | c46342388afca31550a351af811f6be2f16deae4bea6983f1784dfa6db811683 |
Hashes for regularizepsf-0.4.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0270dcc5a0badcc88c30a3000df3e8c4c0063686a6f38e4256a18e4091010045 |
|
MD5 | dd7c042780d1ba1e71165f7423083388 |
|
BLAKE2b-256 | 270ae749d5f58d8352bd4a6ea28d82d4b2af63cf59fd896195058dbe98618739 |
Hashes for regularizepsf-0.4.0-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd85a24831603c7abe42945c7feadf6791cb4213b58e02aecab0f732a98e2488 |
|
MD5 | ccefbaa34199e88dd632cd6f19f2ef71 |
|
BLAKE2b-256 | 4238eef0494260afdfa5a8ea4ee6be991f5ffce61737bf2665c5ce0f9b0c5bc9 |
Hashes for regularizepsf-0.4.0-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0bb4f405e82c88063f77a0350a7e6ff6a6221d05617dac80f45a92b4dace1cf |
|
MD5 | f13d36846e3d4f664f8441d4d6fdae0d |
|
BLAKE2b-256 | bf6c1ef3ae9bad26503a49db115f1be51644e7f1212708e31bdd0eff1b85bdae |
Hashes for regularizepsf-0.4.0-cp311-cp311-musllinux_1_2_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94eccd8622bb7c6cc304fb1c2843a20a9204b6fa8dee8077c0ff0f68d6c0623e |
|
MD5 | fb20452d0c550934af1b0844f7417ce4 |
|
BLAKE2b-256 | f3e40a53cbb7f1d26afd7bdb0b6d2075f2fc5911f6f918b30b6cd69b0df3bcc3 |
Hashes for regularizepsf-0.4.0-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8831f1c77caf4f25476c37488f1e58f313f1ec39723d5744666410e39b714aad |
|
MD5 | f7df0e80aff837e4dd596efdf9b93f81 |
|
BLAKE2b-256 | 33c99b9553bacf4545620bc7363b9ffa4709f801d25d2476919d9b53594620d1 |
Hashes for regularizepsf-0.4.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2fee35f9fdbefc760975355f7a603becb89d8b274debad763c1e310e9595e9ae |
|
MD5 | addce0e0ed69d97a13f1a82cc06ce8f7 |
|
BLAKE2b-256 | e8619d780df7ecaf35d8d6cc3eaa85e8d922f341b7e1d4e394976d82833dbc79 |
Hashes for regularizepsf-0.4.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb9f9ecc0838f61e7c1570492260aaebb9c30b03e453341685fce9e28337121e |
|
MD5 | 2a9e21182cce2fea263fe645b01d5c70 |
|
BLAKE2b-256 | b26a6ea6020f42fa39aa6b78f73a8a9e76c7b0ee4d6e29f2b18a3fa781b2745c |
Hashes for regularizepsf-0.4.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8cf5e18b6a35aa6f806aea5f76fc7cbd4cf4cb6e8288f47673ef6c675debbfad |
|
MD5 | ca56723461a1393ea79fb72000429e4f |
|
BLAKE2b-256 | 56a79aee282ced5395fea32b2ef8d594f4cedc2a0190cd378b9092c394cd626e |
Hashes for regularizepsf-0.4.0-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ab332ddedcdf174f91d13700e70c12fed66a44ceac5cc16d943999ffa13ea95 |
|
MD5 | 36bdf1ba3697e44ed432c6ff8a7213ee |
|
BLAKE2b-256 | 466afe18452b4e32876d32ed3c0fa8713ababfefdaf0158dda152034fa8442d1 |
Hashes for regularizepsf-0.4.0-cp310-cp310-musllinux_1_2_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1172825edacbe6b2ae1aab4c1683f8980464ce2790b910341c3503bd88b6253 |
|
MD5 | 92a1b1fa0cac4d30d3169899b0824f3f |
|
BLAKE2b-256 | ae0dbc38a6a83f2edee4bd7b51d1cf7b3822b5d151d7d11a5bb090725be2f1bb |
Hashes for regularizepsf-0.4.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8106714990573d91f6431e7fda043df05acc8cbb6080a5ba5b52ed8fa6f030f6 |
|
MD5 | b410d6de6bf31269425c664d6cdb3eaa |
|
BLAKE2b-256 | 473813038aea8149a8f9fb01febf2e30ec28026157bcc17e84db41f3ad1fa39f |
Hashes for regularizepsf-0.4.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64a5269ca5af513593da041d18eec3f105dcc54b016d1ffab7d2fe9061129494 |
|
MD5 | 97a5bca9fe65f1e64f330919181d88b5 |
|
BLAKE2b-256 | 1f9580052be0cdb628a6bd04a768f678be5c3002551aa318b734d5c0be937adb |
Hashes for regularizepsf-0.4.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08dad2c942e0ca1d8da8494d61fe573b94e94855d69832ae1ebf8243ed857daa |
|
MD5 | 49fac481b35426a0903e86c8ae51bdde |
|
BLAKE2b-256 | 5e99b724f45b8fcec761bdd96c287e9d627e190512c0f6ae25e38ad25692614c |
Hashes for regularizepsf-0.4.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7c295cd895089ef878cb01600269cce8a708d131b0ed0aed367e719d6692e12 |
|
MD5 | 7b399bdab3216af4ee4fad03a989bbe1 |
|
BLAKE2b-256 | 95d3e215a8aa2c145eb9835ef8bc3b95651524f73d63f0eefb00d86ac4083c7c |