No project description provided
Project description
irispreppy
For radiometrically calibrating and PSF deconvolving IRIS data.
To install 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("path/to/file.fits") #Raw data
rc=ip.radcal(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("path/to/file.fits") #Raw data
ip.radcal(raw, save=True) #Radiometrically calibrated
rc=fits.open("path/to/file_rc.fits") #Radiometrically calibrated data
ip.deconvolve(rc, save=True) #Radiometrically calibrated and deconvolved
More in depth documentation will be added in the futureTM.
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.
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 Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file irispreppy-2.3.3.tar.gz.
File metadata
- Download URL: irispreppy-2.3.3.tar.gz
- Upload date:
- Size: 2.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a727d9f038d4058a5588996de80acb154b2e8eb98b19122c3fd88c97441e0581
|
|
| MD5 |
1f5fb892f94dd730c7d0e13bd1ff547b
|
|
| BLAKE2b-256 |
2ee947637f851ec86502f78b976b2c592b926e58725a5b533a3d98b6f3686073
|
File details
Details for the file irispreppy-2.3.3-py3-none-any.whl.
File metadata
- Download URL: irispreppy-2.3.3-py3-none-any.whl
- Upload date:
- Size: 2.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b7e549e3dd9cce093a8864a135e874cf9663358c58ae0a44988c9c6e5f88ab56
|
|
| MD5 |
b54cb7ca9791e7816b02513ee5ed1f71
|
|
| BLAKE2b-256 |
620b47c4aedbd85ebec1280f9093b75f823b5cad064ce031a6ffea56065e2df5
|