pyGrating is a python module to reduce Ultraviolet Imaging Telescope (UVIT/AstroSat) Grating spectra. An image reduced using CCDLAB is required as input. The GratingImage module can identify all sources in the image and GratingSpectum module converts the 2D spectrum to 1D calibrated (wavelength and flux) spectrum.
pgGrating documentation is at jikrant3.github.io/pyGrating/
Add the pygrating.py and data folder to your working directory (GitHub).
I recommend that you install the Anaconda Distribution.
pyGrating has following requirements:
numpy>= 1.21.5scipy>= 1.7.3astropy>= 5.0.4specutils>= 1.7.0matplotlib>= 3.5.1
The software is under active development.
Jadhav 2023, pyGrating, DOI: 10.5281/zenodo.7579951
Tandon, et al. 2020, AJ, 159, 158
Dewangan, 2021, JApA, 42, 49