Chandrayaan-2 XSM
Solar X-ray Monitor
Chandrayaan-2 XSM
Solar X-ray Monitor
Home
XSM Instrument
Observations with XSM
Data Analysis
Publications
Gallery CH-2 Data Archive
☰
XSM Instrument
Observations with XSM
Data Analysis
Publications
Gallery CH-2 Data Archive

Accessing XSM Data

This website provides only the plots of solar X-ray flux integrated over either the GOES XRS-B energy range (1-8 Å or 1.55 to 12.4 keV) or the full XSM energy range (1 - 15 keV), obtained from the XSM spectra. Full spectral data is available in the data archive. The raw (level-1) and calibrated (level-2) XSM data organized into day-wise files are available for download from the PRADAN portal of ISRO Science Data Archive (ISDA) at Indian Space Science Data Center (ISSDC), Bangalore.

To dowload the data, visit https://pradan.issdc.gov.in/ch2/. Users need to register in the website for accessing the data.

Analysis Guide, Software, and Calibration Files

XSPEC Model and fitting example

Acknowledging the use of XSM data

Users are requested to acknowledge the use of XSM data and analysis software by citing the relevant publications listed below as well as by including the following statement in acknowledgment:
"We acknowledge the use of data from the Solar X-ray Monitor (XSM) on board the Chandrayaan-2 mission of the Indian Space Research Organisation (ISRO), archived at the Indian Space Science Data Centre (ISSDC). XSM was developed by Physical Research Laboratory (PRL) with support from various ISRO centers."

References

  1. Instrument description: "Solar X-ray Monitor Onboard Chandrayaan-2 Orbiter", Current Science, 118(1):45, 2020. [ArXiv] [ADS]
  2. In-flight calibration status: "Solar X-ray Monitor On board the Chandrayaan-2 Orbiter: In-flight Performance and Science Prospects", Solar Physics , 295:139, 2020. [ArXiv] [ADS]
  3. Software description: "Data Processing Software for Chandrayaan-2 Solar X-ray Monitor", Astronomy & Computing, 34:100449, 2021. [ArXiv] [ADS]
  4. Ground calibration: "Ground Calibration of Solar X-ray Monitor on board the Chandrayaan-2 Orbiter", Experimental Astronomy, 51:1, 2021. [ArXiv] [ADS]
  5. Updated calibration: "Cross-Calibration of Chandrayaan-2 XSM with INSPIRESat-1 DAXSS and GOES-16 XRS" [ArXiv]

XSM Data Analysis: A Quick Start Guide

This guide assumes that the users have successfully installed XSMDAS and CALDB and have XSPEC/Heasoft available on their system for further analysis of the spectra. XSM observations on 08-September-2021 is considered here, which includes a C-class flare around 17:30, as seen from light curve plot generated from this website shown below. We will carry out spectroscopic analysis around the peak of this flare.


Download the data for this day of observation from PRADAN and unzip the file into desired location. In this example, it is unzipped in to the directory ~/xsm_analysis as:

mithun@Thinkpad:xsm_analysis$ unzip ch2_xsm_20210908_v1.zip 

This will create a directory structure with xsm as top level directory with year, month, day level sub-directory structure under data as:

xsm/
   data/
       2021/
           09/
             08/
              raw/
                 ch2_xsm_20210908_v1_level1.fits
                 ch2_xsm_20210908_v1_level1.hk
                 ch2_xsm_20210908_v1_level1.sa
              calibrated/
                 ch2_xsm_20210908_v1_level2.gti
                 ch2_xsm_20210908_v1_level2.pha
                 ch2_xsm_20210908_v1_level2.lc
Now, to determine the time ranges for further analysis, examine the standard light curve available in the downloaded data set using fitsviewer or with python/IDL etc. Another possibility is to use the interactive plotting tool available on this web site. Convert the UTC time stamps to XSM Mission Elapse Time (MET) using xsmutc2met tool included in XSMDAS. We will use the following time range of one minute around the peak of the flare for subseuent analysis.
Period Tstart Tstop
Flare 147893400.0 (17:30:00) 147893460.0 (17:31:00)

Now, the spectral analysis procedure is demonstrated below using XSPEC.

Analysis Using XSPEC/HEASOFT

For analysis in XSPEC we shall generate spectra for the flare peak duration using the XSMDAS module xsmgenspec. To generate spectrum for the flare duration, provide inputs to xsmgenspec as shown below with the tstart and tstop values as identified above.

[mithun@xsmpoc 08]$ xsmgenspec 
-------------------------------------------------------------------------
  XSMDAS: Data Analysis Software for Chandrayaan-II Solar X-ray Monitor  
                     XSMDAS Version: 2.0              
                     Module : XSMGENSPEC                        
-------------------------------------------------------------------------
Enter Input Level-1 file [] : raw/ch2_xsm_20210908_v1_level1.fits
Enter Output Spectrum file [] : ch2_xsm_20210908_flare1730-1731_v2.pha
Enter output spectrum type  [time-integrated] : time-integrated
Enter start time for extracting spectrum [0] : 147893400.0
Enter stop time for extracting spectrum [0] : 147893460.0
Enter HK file [] : raw/ch2_xsm_20210908_v1_level1.hk
Enter Sun angle file [] : raw/ch2_xsm_20210908_v1_level1.sa
Enter GTI file [] : calibrated/ch2_xsm_20210908_v1_level2.gti
------------------------------------------------------------------------
MESSAGE: Ebounds CALDB file used is: 
/data/users/mithun/pipeline/XSM/xsmdas/caldb/CH2xsmebounds20191214v01.fits
MESSAGE: Gain CALDB file used is: 
/data/users/mithun/pipeline/XSM/xsmdas/caldb/CH2xsmgain20210401v01.fits
MESSAGE: Deadtcor CALDB file used is: 
/data/users/mithun/pipeline/XSM/xsmdas/caldb/CH2xsmdeadtcor20251111v01.fits
MESSAGE: Abscoef CALDB file used is: 
/data/users/mithun/pipeline/XSM/xsmdas/caldb/CH2xsmabscoef20200410v01.fits
MESSAGE: Effareapar CALDB file used is: 
/data/users/mithun/pipeline/XSM/xsmdas/caldb/CH2xsmeffareapar20261106v03.fits
MESSAGE: Syserror CALDB file used is: 
/data/users/mithun/pipeline/XSM/xsmdas/caldb/CH2xsmsyserr20200410v01.fits

MESSAGE: XSMGENSPEC completed successully
MESSAGE: Output file = ch2_xsm_20210908_flare1730-1731_v2.pha
MESSAGE: Output ARF = ch2_xsm_20210908_flare1730-1731_v2.arf

At the end of execution a spectrum file and arf file will be generated. Before proceeding to detailed spectral analysis, load the spectrum in XSPEC along with a sample background file provided under $xsmdas/caldb/bkgspec as the background spectra (either copy the background pha to present working directory or give full path) using appropriate XSPEC commands as below:

XSPEC12>da 1:1 ch2_xsm_20210908_flare1730-1731_v2.pha

1 spectrum  in use
 
Spectral Data File: ch2_xsm_20210908_flare1730-1731_v2.pha  Spectrum 1
Net count rate (cts/s) for Spectrum:1  1.126e+04 +/- 6.482e+01
 Assigned to Data Group 1 and Plot Group 1
  Noticed Channels:  1-512
  Telescope: CH-2_ORBITER Instrument: CH2_XSM  Channel Type: PI
  Exposure Time: 56.71 sec
 Using fit statistic: chi
 Using Response (RMF) File            
 /data/users/mithun/pipeline/XSM/xsmdas/caldb/CH2xsmresponse20200423v01.rmf for Source 1
 Using Auxiliary Response (ARF) File  ch2_xsm_20210908_flare1730-1731_v2.arf

XSPEC12>back 1:1 /data/users/mithun/pipeline/XSM/xsmdas/caldb/bkgspec/ch2_xsm_20191128_bkg.pha
Net count rate (cts/s) for Spectrum:1  1.126e+04 +/- 6.482e+01 (100.0 % total)

Plot the spectra after ignoring the data below 1 keV and above 8 keV using ignore, plot, and setplot commands in XSPEC (see XSPEC manual). We are ignoring the spectrum above 8 keV as there are no significant counts detected. If spectral fitting is done using cstat or other statistics which considers Poisson statistics, spectra in the energy range of 1 -- 15 keV may be used in fitting.

Figure above shows the resulting plot. The black data points denote the flare spectrum and the stars denote the background spectra. It can be seen that the background is negligble in this case comapred to the source spectrum at all energy ranges, so it may be ignored. However, for analysis of fainter flare or quiet period spectra, background may become important above certain energy. In such cases, it is recommended to restrict the fitting to energy range where the source spectrum dominates background.

To fit the spectrum, we shall use isothermal models based on CHIANTI database that are developed as local models in XSPEC, named chspec. XSM spectra at the peak of these flares require a two temperature model (see Mithun et al., 2022 for more details). So, we shall use chisoth+chisoth as the spectral model where the temperatures and emission measures (norm) of both components are left as free parameters.Abundances of Mg, Si, S, Ar, Ca, and Fe are left as free parameters in fitting, but abundances of both temperature components are tied together. The fitted spectrum is shown in the figure below for reference.

Detailed step-by-step spectral fitting procedure using PyXSPEC, the Python interface to XSPEC, and other related resources are available at Jupyter notebooks with XSM spectral analysis examples.

Caveats and Notes to Users

  • For observations in during Noon-Midnight seasons where the data are sparse, uncertainities in calibration are larger, currently estimated to be 10-15%.
  • During observations, the Sun angle with respect to the instrument boresight varies with a period of half the orbital period (∼ 120 minutes). This causes effective area for Sun observations also to vary, which is corrected by the analysis software. However, it is likely that small residual effects of these variations may persist in the light curves. Thus, any periodicities seen in the data that matches the orbital period of Chandrayaan-2 or its harmonics shall be ignored.
  • Sample background spectra are provided along with CALDB distribution. It is recommended that energy ranges where the source spectrum is dominant over background shall be identied by comparing the Sun spectrum with these sample background and spectral fitting shall be restricted to those energy ranges. It may be noted that as background is slightly variable, subtraction of the sample background spectrum from any source observation will not be very accurate where the background dominates over source counts (e.g. higher energy channels for quiet Sun data).
  • Light curves generated are inclusive of background, which in the full energy range of 1 – 15 keV or at lower energies is negligible compared to solar X-rays even for the quietest X-ray emission from the Sun. However, beyond certain energy the background would dominate, which can be understood from comparing source and background spectra as discussed above. Light curves above that energy would be primarily background and does not provide much information about the source and shall be interpreted accordingly. As the background does not vary with sun angle systematically, the light curves corrected for effective area variation with angle would show systematic variation.
  • In many cases, users may want to fit the spectrum during a flare subtracting the pre-flare solar emission. However, as the effective area of XSM in general varies with time (as the Sun travels across the FOV of XSM) , such simple subtractions may not be the best method, rather the following approach can be taken. Generate pre-flare spectrum and fit it with appropriate model. Now, while fitting the flare duration spectrum, consider two models - one for the pre-flare emission fixed to the parameters obtained for pre-flare spectrum and another for the flaring component which can be left free. In cases where the Sun angles between pre-flare and flare observations are not varying much, simple subtraction may be carried out.

XSMDAS and CALDB Release Notes


Release history of XSM Data Analysis Softwarre (XSMDAS) and Calibration Database (CALDB) are given here. Older versions of XSMDAS and CALDB can be downloaded by clicking the links on version numbers. These may be used only for reproducing results from earlier analysis and it is recommended to use the latest versions of XSMDAS and CALDB.

XSMDAS Release History

Version Release Date Notes
1.1 10 Dec 2020 First public release
1.2 28 Jun 2021 Included python script for computing flux over a user provided energy range; CALDB version used are written in output spectra/resp/lc headers.
1.5 21 Nov 2025 Incorporated proper deadtime correction model, the exposures of generated spectrum are corrected with the deadtime model. Generates response with Beryllium filter for large flare. Recent version of cfitsio library included with the software for compatibility with latest Mac OS versions.Bug fixes for latest apple gcc compilers are included.
2.0 06 Nov 2026 Updated calibration to make use of low energy spectrum from 1 keV onward for spectral fitting.

CALDB Release History

Version Release Date Notes
20201210 10 Dec 2020 First public release
20210628 28 Jun 2021 Added new gain file for observations from June 2020 with new LLD setting and updated effective area parameters for N-M season
20251111 11 Nov 2025 Includes a new lookup table for deadtime correction, compatible with XSMDAS V1.5
20261106 06 Nov 2026 Includes updated effective area parameters and response files with increased be window thickness, compatible with XSMDAS V2.0. Spectral fitting from 1 keV possible.