The TH FITS file

FITS file headers

FITS source: ./examples/cgbm_20160301_hxm1_hg.th

ASCII source: ./examples/cgbm_20160301_hxm1_hg_th_headers.txt

# HDU 0 in cgbm_20160301_hxm1_hg.th:
SIMPLE  =                    T / conformity to FITS standard                    
BITPIX  =                    8 / number of bits per data pixel                  
NAXIS   =                    0 / number of data axes                            
EXTEND  =                    T / possibility of presence of extensions          
CREATOR = 'cgbmgenth 0.3.0 (2018-04-23)' / software name-version-date           
TELESCOP= 'CALET   '           / observer name                                  
INSTRUME= 'CGBM    '           / instrument name                                
DETNAM  = 'HXM1    '           / detector name                                  
ORIGIN  = 'JAXA, WCOC'         / origin of fits file                            
DATE    = '2018-04-27T18:13:07' / file creation datetime (UTC)                  
DATE-OBS= '2016-02-29T23:59:59' / Date of start of observation                  
DATE-END= '2016-03-01T23:59:59' / Date of end of observation                    
TSTART  = '510105603.086938'   / [CGBM MET] Observation start time              
TSTOP   = '510192003.651937'   / [CGBM MET] Observation stop time               
TIMEDEL =             0.125000 / ime resolution (bin size)                      
FILTER  = 'none    '           / The instrument filter in use (if any)          
AREASCAL=             1.000000 / No special scaling of effective area by channel
BACKFILE= 'none    '           / Name of corresponding background file (if any) 
BACKSCAL=             1.000000 / No scaling of background                       
CORRFILE= 'none    '           / Name of corresponding correction file (if any) 
CORRSCAL=             1.000000 / Correction scaling file                        
RESPFILE= 'none    '           / Name of corresponding RMF file (if any)        
ANCRFILE= 'none    '           / Name of corresponding ARF file (if any)        
SYS_ERR =             0.000000 / No systematic errors                           
POISSERR=                    T / Assume Poisson Errors                          
GROUPING=                    0 / No special grouping has been applied           
HDUCLASS= 'OGIP    '           / Format conforms to OGIP standard               
HDUCLAS1= 'SPECTRUM'           / PHA dataset (OGIP memo OGIP-92-007)            
HDUCLAS2= 'TOTAL   '           / Indicates gross data (source + background)     
HDUCLAS3= 'COUNT   '           / Indicates data stored as counts                
HDUCLAS4= 'TYPEII  '           / Indicates PHA Type II file format              
HDUVERS = '1.2.1   '           / Version of HDUCLAS1 format in use              
CHANTYPE= 'PHA     '           / No corrections have been applied               
DETCHANS=                    4 / Total number of detector PHA channels          
CHECKSUM= 'cgomeglkcglkcglk'   / HDU checksum : 2018-04-27T18:13:07             
DATASUM = '         0'         / data unit checksum : 2018-04-27T18:13:07       
MJDREFI =                51544 / MJD reference day                              
MJDREFF =  0.00074287037037037 / MJD reference(fraction of day)                 
TIMEREF = 'LOCAL   '           / reference time                                 
TIMESYS = 'TT      '           / Time system used to define time                
TIMEUNIT= 's       '           / unit for time keyword                          
TIMEPIXR=                    1 / Time stamps refer to end of each bin           
PROCVER = '1.1.1.1 '           / Major.Minor.Tool.CALDB                         
CALDBVER= 'cgbm20180214'       / CALDB version                                  
L1FLAG  =                    0 / Level 1 data flag (0:tmpL1/1: official L1)     
SEQPNUM =                    1 / sequence in procver                            
HISTORY START cgbmgenth at 2018-04-27T18:12:58                                  
HISTORY                                                                         
HISTORY - gbm-phfile: /tmp/cgbmarch_mkth.pyJZ_lVz/gbm_th_merged.fits            
HISTORY - com-perfile: /tmp/cgbmarch_mkth.pyJZ_lVz/com_per_merged.fits          
HISTORY - timlist: DEF                                                          
HISTORY - procnum: 1                                                            
HISTORY - date: 2016-03-01                                                      
HISTORY                                                                         
HISTORY END cgbmgenth                                                           

# HDU 1 in cgbm_20160301_hxm1_hg.th:
XTENSION= 'BINTABLE'           / type of extension                              
BITPIX  =                    8 / number of bits per data element                
NAXIS   =                    2 / number of data axes                            
NAXIS1  =                   33 / width of table in bytes                        
NAXIS2  =               690432 / number of rows in table                        
PCOUNT  =                    0 / length of reserved area and heap               
GCOUNT  =                    1 / number of groups                               
TFIELDS =                    7 / number of fields in each row                   
EXTNAME = 'SPECTRUM'           / name of this HDU                               
EXTVER  =                    0 / version of the extension                       
TTYPE1  = 'TIME    '           / field name                                     
TUNIT1  = 's       '           / Seconds since MJDREF; end times of bins        
TFORM1  = '1D      '           / data format : 8-byte REAL                      
TTYPE2  = 'MDCTIME '           / field name                                     
TUNIT2  = 's       '           / Mission Data Controller time; end times of bins
TFORM2  = '1D      '           / data format : 8-byte REAL                      
TTYPE3  = 'COUNTS  '           / field name                                     
TUNIT3  = 'count   '           / physical unit                                  
TFORM3  = '4I      '           / data format : 2-byte INTEGER                   
TZERO3  =                32768 / zero point in scaling equation                 
TTYPE4  = 'EXPOSURE'           / field name                                     
TFORM4  = '1E      '           / data format : 4-byte REAL                      
TTYPE5  = 'SEQNUM  '           / field name                                     
TFORM5  = '1I      '           / data format : 2-byte INTEGER                   
TZERO5  =                32768 / zero point in scaling equation                 
TTYPE6  = 'SPEC_NUM'           / field name                                     
TFORM6  = '1I      '           / data format : 2-byte INTEGER                   
TZERO6  =                32768 / zero point in scaling equation                 
TTYPE7  = 'QUALITY '           / field name                                     
TFORM7  = '1B      '           / data format : BYTE                             
HDUCLASS= 'OGIP    '           / Format conforms to OGIP standard               
HDUCLAS1= 'SPECTRUM'           / PHA dataset (OGIP memo OGIP-92-007)            
CREATOR = 'cgbmgenth 0.3.0 (2018-04-23)' / software name-version-date           
TELESCOP= 'CALET   '           / observer name                                  
INSTRUME= 'CGBM    '           / instrument name                                
DETNAM  = 'HXM1    '           / detector name                                  
ORIGIN  = 'JAXA, WCOC'         / origin of fits file                            
DATE    = '2018-04-27T18:13:07' / file creation datetime (UTC)                  
DATE-OBS= '2016-02-29T23:59:59' / Date of start of observation                  
DATE-END= '2016-03-01T23:59:59' / Date of end of observation                    
TSTART  = '510105603.086938'   / [CGBM MET] Observation start time              
TSTOP   = '510192003.651937'   / [CGBM MET] Observation stop time               
TIMEDEL =             0.125000 / ime resolution (bin size)                      
FILTER  = 'none    '           / The instrument filter in use (if any)          
AREASCAL=             1.000000 / No special scaling of effective area by channel
BACKFILE= 'none    '           / Name of corresponding background file (if any) 
BACKSCAL=             1.000000 / No scaling of background                       
CORRFILE= 'none    '           / Name of corresponding correction file (if any) 
CORRSCAL=             1.000000 / Correction scaling file                        
RESPFILE= 'none    '           / Name of corresponding RMF file (if any)        
ANCRFILE= 'none    '           / Name of corresponding ARF file (if any)        
SYS_ERR =             0.000000 / No systematic errors                           
POISSERR=                    T / Assume Poisson Errors                          
GROUPING=                    0 / No special grouping has been applied           
HDUCLAS2= 'TOTAL   '           / Indicates gross data (source + background)     
HDUCLAS3= 'COUNT   '           / Indicates data stored as counts                
HDUCLAS4= 'TYPEII  '           / Indicates PHA Type II file format              
HDUVERS = '1.2.1   '           / Version of HDUCLAS1 format in use              
CHANTYPE= 'PHA     '           / No corrections have been applied               
DETCHANS=                    4 / Total number of detector PHA channels          
CHECKSUM= 'aJgAcIe6aIeAaIe3'   / HDU checksum : 2018-04-27T18:13:07             
DATASUM = '2181058005'         / data unit checksum : 2018-04-27T18:13:07       
MJDREFI =                51544 / MJD reference day                              
MJDREFF =  0.00074287037037037 / MJD reference(fraction of day)                 
TIMEREF = 'LOCAL   '           / reference time                                 
TIMESYS = 'TT      '           / Time system used to define time                
TIMEUNIT= 's       '           / unit for time keyword                          
TIMEPIXR=                    1 / Time stamps refer to end of each bin           
PROCVER = '1.1.1.1 '           / Major.Minor.Tool.CALDB                         
CALDBVER= 'cgbm20180214'       / CALDB version                                  
L1FLAG  =                    0 / Level 1 data flag (0:tmpL1/1: official L1)     
SEQPNUM =                    1 / sequence in procver                            
HISTORY START cgbmgenth at 2018-04-27T18:12:58                                  
HISTORY                                                                         
HISTORY - gbm-phfile: /tmp/cgbmarch_mkth.pyJZ_lVz/gbm_th_merged.fits            
HISTORY - com-perfile: /tmp/cgbmarch_mkth.pyJZ_lVz/com_per_merged.fits          
HISTORY - timlist: DEF                                                          
HISTORY - procnum: 1                                                            
HISTORY - date: 2016-03-01                                                      
HISTORY                                                                         
HISTORY END cgbmgenth                                                           

# HDU 2 in cgbm_20160301_hxm1_hg.th:
XTENSION= 'BINTABLE'           / type of extension                              
BITPIX  =                    8 / number of bits per data element                
NAXIS   =                    2 / number of data axes                            
NAXIS1  =                   24 / width of table in bytes                        
NAXIS2  =               690432 / number of rows in table                        
PCOUNT  =                    0 / length of reserved area and heap               
GCOUNT  =                    1 / number of groups                               
TFIELDS =                    6 / number of fields in each row                   
EXTNAME = 'DEADTIME'           / name of this HDU                               
EXTVER  =                    0 / version of the extension                       
TTYPE1  = 'TIME    '           / field name                                     
TUNIT1  = 's       '           / Seconds since MJDREF; end times of bins        
TFORM1  = '1D      '           / data format : 8-byte REAL                      
TTYPE2  = 'MDCTIME '           / field name                                     
TUNIT2  = 's       '           / Mission Data Controller time; end times of bins
TFORM2  = '1D      '           / data format : 8-byte REAL                      
TTYPE3  = 'DT      '           / field name                                     
TUNIT3  = 'us      '           / physical unit                                  
TFORM3  = '1I      '           / data format : 2-byte INTEGER                   
TZERO3  =                32768 / zero point in scaling equation                 
TTYPE4  = 'LD      '           / field name                                     
TUNIT4  = 'count   '           / physical unit                                  
TFORM4  = '1I      '           / data format : 2-byte INTEGER                   
TZERO4  =                32768 / zero point in scaling equation                 
TTYPE5  = 'UD      '           / field name                                     
TUNIT5  = 'count   '           / physical unit                                  
TFORM5  = '1I      '           / data format : 2-byte INTEGER                   
TZERO5  =                32768 / zero point in scaling equation                 
TTYPE6  = 'SPEC_NUM'           / field name                                     
TFORM6  = '1I      '           / data format : 2-byte INTEGER                   
TZERO6  =                32768 / zero point in scaling equation                 
CREATOR = 'cgbmgenth 0.3.0 (2018-04-23)' / software name-version-date           
TELESCOP= 'CALET   '           / observer name                                  
INSTRUME= 'CGBM    '           / instrument name                                
DETNAM  = 'HXM1    '           / detector name                                  
ORIGIN  = 'JAXA, WCOC'         / origin of fits file                            
DATE    = '2018-04-27T18:13:07' / file creation datetime (UTC)                  
DATE-OBS= '2016-02-29T23:59:59' / Date of start of observation                  
DATE-END= '2016-03-01T23:59:59' / Date of end of observation                    
TSTART  = '510105603.086938'   / [CGBM MET] Observation start time              
TSTOP   = '510192003.651937'   / [CGBM MET] Observation stop time               
TIMEDEL =             0.125000 / ime resolution (bin size)                      
FILTER  = 'none    '           / The instrument filter in use (if any)          
AREASCAL=             1.000000 / No special scaling of effective area by channel
BACKFILE= 'none    '           / Name of corresponding background file (if any) 
BACKSCAL=             1.000000 / No scaling of background                       
CORRFILE= 'none    '           / Name of corresponding correction file (if any) 
CORRSCAL=             1.000000 / Correction scaling file                        
RESPFILE= 'none    '           / Name of corresponding RMF file (if any)        
ANCRFILE= 'none    '           / Name of corresponding ARF file (if any)        
SYS_ERR =             0.000000 / No systematic errors                           
POISSERR=                    T / Assume Poisson Errors                          
GROUPING=                    0 / No special grouping has been applied           
HDUCLASS= 'OGIP    '           / Format conforms to OGIP standard               
HDUCLAS1= 'SPECTRUM'           / PHA dataset (OGIP memo OGIP-92-007)            
HDUCLAS2= 'TOTAL   '           / Indicates gross data (source + background)     
HDUCLAS3= 'COUNT   '           / Indicates data stored as counts                
HDUCLAS4= 'TYPEII  '           / Indicates PHA Type II file format              
HDUVERS = '1.2.1   '           / Version of HDUCLAS1 format in use              
CHANTYPE= 'PHA     '           / No corrections have been applied               
DETCHANS=                    4 / Total number of detector PHA channels          
CHECKSUM= 'fXBXiU9UfUAUfU7U'   / HDU checksum : 2018-04-27T18:13:08             
DATASUM = '1942101357'         / data unit checksum : 2018-04-27T18:13:08       
MJDREFI =                51544 / MJD reference day                              
MJDREFF =  0.00074287037037037 / MJD reference(fraction of day)                 
TIMEREF = 'LOCAL   '           / reference time                                 
TIMESYS = 'TT      '           / Time system used to define time                
TIMEUNIT= 's       '           / unit for time keyword                          
TIMEPIXR=                    1 / Time stamps refer to end of each bin           
PROCVER = '1.1.1.1 '           / Major.Minor.Tool.CALDB                         
CALDBVER= 'cgbm20180214'       / CALDB version                                  
L1FLAG  =                    0 / Level 1 data flag (0:tmpL1/1: official L1)     
SEQPNUM =                    1 / sequence in procver                            
HISTORY START cgbmgenth at 2018-04-27T18:12:58                                  
HISTORY                                                                         
HISTORY - gbm-phfile: /tmp/cgbmarch_mkth.pyJZ_lVz/gbm_th_merged.fits            
HISTORY - com-perfile: /tmp/cgbmarch_mkth.pyJZ_lVz/com_per_merged.fits          
HISTORY - timlist: DEF                                                          
HISTORY - procnum: 1                                                            
HISTORY - date: 2016-03-01                                                      
HISTORY                                                                         
HISTORY END cgbmgenth                                                           

# HDU 3 in cgbm_20160301_hxm1_hg.th:
XTENSION= 'BINTABLE'           / binary table extension                         
BITPIX  =                    8 / array data type                                
NAXIS   =                    2 / number of array dimensions                     
NAXIS1  =                   10 / length of dimension 1                          
NAXIS2  =                    4 / length of dimension 2                          
PCOUNT  =                    0 / number of group parameters                     
GCOUNT  =                    1 / number of groups                               
TFIELDS =                    3 / number of table fields                         
TTYPE1  = 'CHANNEL '                                                            
TFORM1  = 'I       '                                                            
TTYPE2  = 'E_MIN   '                                                            
TFORM2  = 'E       '                                                            
TUNIT2  = 'keV     '                                                            
TTYPE3  = 'E_MAX   '                                                            
TFORM3  = 'E       '                                                            
TUNIT3  = 'keV     '                                                            
TELESCOP= 'CALET   '           / observer name                                  
INSTRUME= 'CGBM    '           / instrument name                                
DETNAM  = 'HXM1    '           / detector name                                  
GAIN    = 'HG      '                                                            
ORIGIN  = 'JAXA, WCOC'         / origin of fits file                            
EXTNAME = 'EBOUNDS '                                                            
PI2ENE  =                0.024                                                  
FILTER  = 'none    '           / The instrument filter in use (if any)          
TIMESYS = 'TT      '           / Time system used to define time                
TIMEUNIT= 's       '           / unit for time keyword                          
TIMEREFI=                51544                                                  
TIMEREFF=  0.00074287037037037                                                  
HDUCLASS= 'OGIP    '           / Format conforms to OGIP standard               
HDUCLAS1= 'SPECTRUM'           / PHA dataset (OGIP memo OGIP-92-007)            
HDUCLAS2= 'TOTAL   '           / Indicates gross data (source + background)     
HDUVERS = '1.2.1   '           / Version of HDUCLAS1 format in use              
CHANTYPE= 'PHA     '           / No corrections have been applied               
EXTVAR  =                    1                                                  
TLMIN1  =                    0                                                  
TLMAX1  =                    4                                                  
TLMIN2  =                  0.0                                                  
TLMAX2  =               96.744                                                  
TLMIN3  =                    0                                                  
TLMAX3  =               96.744                                                  
CREATOR = 'cgbmgenth 0.3.0 (2018-04-23)' / software name-version-date           
DATE    = '2018-04-27T18:13:07' / file creation datetime (UTC)                  
DATE-OBS= '2016-02-29T23:59:59' / Date of start of observation                  
DATE-END= '2016-03-01T23:59:59' / Date of end of observation                    
TSTART  = '510105603.086938'   / [CGBM MET] Observation start time              
TSTOP   = '510192003.651937'   / [CGBM MET] Observation stop time               
TIMEDEL =             0.125000 / ime resolution (bin size)                      
AREASCAL=             1.000000 / No special scaling of effective area by channel
BACKFILE= 'none    '           / Name of corresponding background file (if any) 
BACKSCAL=             1.000000 / No scaling of background                       
CORRFILE= 'none    '           / Name of corresponding correction file (if any) 
CORRSCAL=             1.000000 / Correction scaling file                        
RESPFILE= 'none    '           / Name of corresponding RMF file (if any)        
ANCRFILE= 'none    '           / Name of corresponding ARF file (if any)        
SYS_ERR =             0.000000 / No systematic errors                           
POISSERR=                    T / Assume Poisson Errors                          
GROUPING=                    0 / No special grouping has been applied           
HDUCLAS3= 'COUNT   '           / Indicates data stored as counts                
HDUCLAS4= 'TYPEII  '           / Indicates PHA Type II file format              
DETCHANS=                    4 / Total number of detector PHA channels          
CHECKSUM= 'eoZlenWkenWkenWk'   / HDU checksum : 2018-04-27T18:13:08             
DATASUM = '1266397597'         / data unit checksum : 2018-04-27T18:13:08       
MJDREFI =                51544 / MJD reference day                              
MJDREFF =  0.00074287037037037 / MJD reference(fraction of day)                 
TIMEREF = 'LOCAL   '           / reference time                                 
TIMEPIXR=                    1 / Time stamps refer to end of each bin           
PROCVER = '1.1.1.1 '           / Major.Minor.Tool.CALDB                         
CALDBVER= 'cgbm20180214'       / CALDB version                                  
L1FLAG  =                    0 / Level 1 data flag (0:tmpL1/1: official L1)     
SEQPNUM =                    1 / sequence in procver                            
HISTORY START cgbmgenth at 2018-04-27T18:12:58                                  
HISTORY                                                                         
HISTORY - gbm-phfile: /tmp/cgbmarch_mkth.pyJZ_lVz/gbm_th_merged.fits            
HISTORY - com-perfile: /tmp/cgbmarch_mkth.pyJZ_lVz/com_per_merged.fits          
HISTORY - timlist: DEF                                                          
HISTORY - procnum: 1                                                            
HISTORY - date: 2016-03-01                                                      
HISTORY                                                                         
HISTORY END cgbmgenth