ecpi.process.dpco.core.gti_saa module

Section author: ECLAIRs GP team

Good Time Interval: SAA

Summary

Functions:

get_gti

Return Good Time Interval (GTI)

get_gti_saa_eic

Return Good Time Interval (GTI) of SAA retrieve from EIC calibration file

get_gti_saa_in_orb

Return Good Time Interval (GTI) of SAA retrieve in FLAG_PVT of ORB_CNV FITS file

Reference

get_gti(flag_saa, orb_time)[source]

Return Good Time Interval (GTI)

Parameters
  • flag_saa – table of flag SAA -> False=out SAA, True in SAA (EXT or DEEP)

  • orb_time – table of times

Returns

array of GTI

Return type

GTI type is numpy array (n,2) gti[x:0] is t_start gti[x:1] is t_stop

get_gti_saa_eic(t_att, t_orb, eic_saa_data)[source]

Return Good Time Interval (GTI) of SAA retrieve from EIC calibration file

Parameters
  • t_att

  • t_orb

  • eic_saa_data

get_gti_saa_in_orb(t_orb, saa_type)[source]

Return Good Time Interval (GTI) of SAA retrieve in FLAG_PVT of ORB_CNV FITS file

  1. Sauvageon indicated this convention, no documentation yet available

    FLAG_PVT & 0x80 pour EXT_SAA_E*_ECLAIR FLAG_PVT & 0x40 pour DEEP_SAA_E*_ECLAIR

If no flag between [a, b] in t_orb so the GTI is [a, b+1] assume TIME_PVT in t_orb is every second

:param t_orb:table ORB_CNV :return: dictionary of GTI with key “saa_ext”, “saa_deep” :rtype: GTI type is numpy array (n,2) gti[x:0] is t_start gti[x:1] is t_stop