Skip to main content

irispreppy

For radiometrically calibrating and PSF deconvolving IRIS data.

To install simply run pip install irispreppy.

I dislike how I need to own proprietary software (IDL) just to simply prepare my data. I use Python for my analysis, why can't I radiometrically calibrate and deconvolve with it? This has been a passion project of mine during my PhD (and beyond). The radiometric calibration keeps itself up to date with the response files by checking https://hesperia.gsfc.nasa.gov/ssw/iris/response/ every time it is run. If it finds new files, it downloads them before continuing.

These scripts should be general purpose and "just work". No janky hacks are present.


tl;dr usage

irispreppy takes a single HDU object. To calibrate and deconvolve,

from astropy.io import fits
import irispreppy as ip

raw=fits.open("iris_raster.fits") #Raw data
rc=ip.radiometric_calibrate(raw)  #Radiometrically calibrated
rc_d=ip.deconvolve(rc)            #Radiometrically calibrated and deconvolved

To calibrate and deconvolve, and save,

from astropy.io import fits
import irispreppy as ip

raw=fits.open("iris_raster.fits")   #Raw data
ip.calibrate_and_save(raw)          #Radiometrically calibrated
rc=fits.open("iris_raster_rc.fits") #Radiometrically calibrated data
ip.deconvolve_and_save(rc)	        #Radiometrically calibrated and deconvolved

Documentation

Documentation for irispreppy can now be found here.


Acknowledgements

Thank you to Dr Graham S. Kerr for IRIS_SG_deconvolve.py and IRIS_SG_PSFs.pkl.

Special thanks to Dr C.M.J. Osborne for putting up with my incessant and innane questions.

Makes use of the excellent WENO4 algorithm (Janett et al. 2019) implemented in Python3 by Dr C.M.J. Osborne here.

Metadata

Release files for irispreppy 3.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for irispreppy 3.1.4
File Size Uploaded Provenance Actions
irispreppy-3.1.4.tar.gz 2.5 MB Without provenance Details for irispreppy-3.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for irispreppy 3.1.4
File Interpreter ABI Platform Actions
irispreppy-3.1.4-py3-none-any.whl Python 3 none any Details for irispreppy-3.1.4-py3-none-any.whl

Total release size: 5.0 MB

Release files / irispreppy-3.1.4.tar.gz

Download URL irispreppy-3.1.4.tar.gz
Size 2.5 MB
Tags Source
SHA-256 checksum
How to use checksums
d69310659ebc43011768adebfb87d04c1beb3b6f2174b454aac06d61b3a46f48
BLAKE2b-256 checksum
How to use checksums
82aeb4c3af4d7c99a2e497a413d0a1ad814670c4a9a5cab5a2cf2549ddb7efb7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / irispreppy-3.1.4-py3-none-any.whl

Download URL irispreppy-3.1.4-py3-none-any.whl
Size 2.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
568dfb6a5afb68ebd1c49943642836a693942546d85df92afc1d9d14608a3379
BLAKE2b-256 checksum
How to use checksums
d059d4a72b9961c4e8e585aeb75b8ceb603f674f80bff692ecea74a0ea209f7f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Security for irispreppy 3.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

3.1.4 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page