EclairsObservationImag

class EclairsObservationImag(t_0, t_1, eclairs_attitude)[source]

Bases: ecpi.common.mission.observation.EclairsObservation

Simplified observation of the ECLAIRs instrument (use only for imag)

constructor

Parameters:
  • t_0 (float or string(isot)) – time of the beginning of the observation in s from mjdref
  • t_1 (float or string(isot)) – time of the end of the observation in s from mjdref
  • eclairs_attitude ([float, float, float]) – attitude of the ECLAIRs instrument [ra, dec, ori] in degrees

Methods Summary

check_eclairs_attitude(eclairs_attitude) check the ECLAIRs attitude parameter
check_times(start_time, end_time) check input times parameters
gti_compute() compute the good time interval between start_time and t_end

Methods Documentation

check_eclairs_attitude(eclairs_attitude)

check the ECLAIRs attitude parameter

Parameters:eclairs_attitude (any (should be array[float, float, float] in degrees)) – ECLAIRs attitude (RA, DEC, orientation) GCRF
check_times(start_time, end_time)

check input times parameters

check format and that start_time < end_time

Parameters:
  • start_time (any (should be float (in s from mjdref) or string (isot))) – starting time of the observation
  • end_time (any (should be float (in s from mjdref) or string (isot))) – ending time of the observation
Returns:

start_time in s from mjdref, end_time in s from mjdref

Return type:

float, float

gti_compute()

compute the good time interval between start_time and t_end

Warning

no computation is implemented now. GTI=[start_time, end_time]

generate a table of GTI (self.gti_table)