common_keyword

common_keyword(fits_header, tstart, tstop, creator='ECLAIRs_pipeline', version='0.1', proc_id='01')[source]

add to the fits header the common keywords used in all the pipeline products

See also

doc : ECL-GP-FITS-KEYWORDS.pdf ECLAIRs GP fits keywords https://forge.in2p3.fr/dmsf/files/6731/view

Parameters:
  • fits_header (astropy.io.fits.*HDU) – header data unit to add the keyword (ex: fits.PrimaryHDU)
  • creator (string (default='ECLAIRs_pipeline')) – name of the program that has created the fits file
  • version (string (default='0.1')) – fits file format version
  • proc_id (string (default="01")) – id of the pipeline process
  • tstart (float) – start time of the observation in s from MJDREF
  • tstop (float) – end time of the observation in s from MJDREF