Instruction

Before analysis please download your FITS files to a folder, save a name of the folder in form YYYY/MM/folder_with_selected_observation_time_range. 

1. Put CR_timeseries.py and the analysis module in the same folder; note that CR_timeseries.py currently imports it as fsi_cr_fast_single_hdu.
2. Install the required Python packages: pip install numpy matplotlib astropy sunpy scikit-image pillow pandas.
3. In CR_timeseries.py, change YEAR_PATH to the folder containing your FITS/event data.
4. Open Terminal in the code folder and run: python CR_timeseries.py.
5. Wait for processing; the generated CR plots will be saved automatically in a new output folder inside YEAR_PATH.