Observing Report

Step 1: Run the pipeline on the data to get mode06 files with the correct status bit setting.

Note that as of nustardas verion 1.6.0 you can now set the "runsplitsc" keyword to automatically split the CHU combinations for mode06 into separate data files.

These files will be stored in the event_cl output directory and have filenames like: nu20201001001A06_chu2_N_cl.evt

Check and see how much exposure is in each file for a given sequence ID.


In [1]:
# Adjust this path to have the relative (or absolute) path to the processed data.
datapath="../data/Sol_16208/20201001001"

In [2]:
import os
from astropy.io import fits

for file in os.listdir(datapath+"/event_cl/"):
    if file.find("06") == -1 or file.find("chu") == -1:
        continue
    if not file.endswith(".evt"):
        continue
        
    evtfile=datapath+'/event_cl/'+file
    print(file)
    hdulist = fits.open(evtfile)
    print()
    print('Exposure: ',hdulist[1].header['EXPOSURE'])
    print('Number of counts: ', hdulist[1].header['NAXIS2'])
    print()
    hdulist.close()


nu20201001001A06_chu123_N_cl.evt

Exposure:  6.41010054098785
Number of counts:  69916

nu20201001001A06_chu123_N_cl_sunpos.evt

Exposure:  6.41010054098785
Number of counts:  69916

nu20201001001A06_chu12_N_cl.evt

Exposure:  30.8255227372596
Number of counts:  728843

nu20201001001A06_chu12_N_cl_sunpos.evt

Exposure:  30.8255227372596
Number of counts:  728843

nu20201001001A06_chu13_N_cl.evt

Exposure:  0.00750338236000278
Number of counts:  86

nu20201001001A06_chu13_N_cl_sunpos.evt

Exposure:  0.00750338236000278
Number of counts:  86

nu20201001001A06_chu23_N_cl.evt

Exposure:  3.04361165856137
Number of counts:  35050

nu20201001001A06_chu23_N_cl_sunpos.evt

Exposure:  3.04361165856137
Number of counts:  35050

nu20201001001A06_chu2_N_cl.evt

Exposure:  0.0206172108733426
Number of counts:  254

nu20201001001A06_chu2_N_cl_sunpos.evt

Exposure:  0.0206172108733426
Number of counts:  254

nu20201001001A06_chu3_N_cl.evt

Exposure:  50.5991464551188
Number of counts:  405572

nu20201001001A06_chu3_N_cl_sunpos.evt

Exposure:  50.5991464551188
Number of counts:  405572

nu20201001001B06_chu123_N_cl.evt

Exposure:  7.59819696604623
Number of counts:  67873

nu20201001001B06_chu123_N_cl_sunpos.evt

Exposure:  7.59819696604623
Number of counts:  67873

nu20201001001B06_chu12_N_cl.evt

Exposure:  38.5471328379952
Number of counts:  720457

nu20201001001B06_chu12_N_cl_sunpos.evt

Exposure:  38.5471328379952
Number of counts:  720457

nu20201001001B06_chu13_N_cl.evt

Exposure:  0.0075092258449348
Number of counts:  84

nu20201001001B06_chu13_N_cl_sunpos.evt

Exposure:  0.0075092258449348
Number of counts:  84

nu20201001001B06_chu23_N_cl.evt

Exposure:  3.72778131334169
Number of counts:  34076

nu20201001001B06_chu23_N_cl_sunpos.evt

Exposure:  3.72778131334169
Number of counts:  34076

nu20201001001B06_chu2_N_cl.evt

Exposure:  0.0247356363767711
Number of counts:  245

nu20201001001B06_chu2_N_cl_sunpos.evt

Exposure:  0.0247356363767711
Number of counts:  245

nu20201001001B06_chu3_N_cl.evt

Exposure:  52.1997515275288
Number of counts:  390383

nu20201001001B06_chu3_N_cl_sunpos.evt

Exposure:  52.1997515275288
Number of counts:  390383


In [ ]: