Solar Flare Catalogue from 3 Years of Chandrayaan-2 XSM Observations. If you use the catalogue or this pipeline, please cite Valluvan et al. 2024 (https://doi.org/10.1007/s11207-023-02244-0).
Copyright (C) 2024 Aravind Bharathi Valluvan, Ashwin Goyal and Devansh Jain.
A daily updated version of the catalogue will soon be available on the Indian Space Science Data Centre (ISSDC) Pradan website (https://pradan.issdc.gov.in/ch2/).
Python libraries:
numpy
matplotlib
scipy
astropy
pandas
lmfit
- Clone this repository
git clone https://github.com/DEVANSH-DVJ/SuryaDrishti.git
- Download XSM L2
.lc
data files from the PRADAN website. Unzip them and place them under a/data/Lightcurves/
folder. - Define data path in
utils.py
if they are not under/data/Lightcurves/
. - Set up for bulk execution using
logmain.py
- n_proc: number of processors to be used
- glob = Config(): Config variables (refer to sd.py)
- gen argument should be set to
True
- start_date: starting date of files
- numdays: number of days to process from start_date
- Run
python logmain.py <output_root>
where output root is the name of the folder /data/Runs/<output_root>
/catalog
: Contains full solar flare catalogs discussed in Valluvan et al 2023. Can be generated by runninglogmain.py
/data/Runs
: Output files fromlogmain.py
can be found here/scripts
: Contains the scripts used to preprocess datafit.py
: Curve-fitting codeslogmain.py
: Script to process lightcurves in parallel and generate a log file.main.py
: Script to process lightcurves in parallel. More efficient thanlogmain.py
but does not generate a log file.plot.py
: Plotting functions used in analysissd.py
: All lightcurve functions.main.py
andlogmain.py
calls the functions in this file.utils.py
: General-purpose functions