EclairsObservation

class EclairsObservation(t_0, t_1, eclairs_attitude, position, velocity, dpix: common.instru.model_effect.ECLAIRsDetectorEffectDefault)[source]

Bases: object

Observation of the ECLAIRs instrument

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
  • position ([float, float, float]) – [X, Y, Z] in km in J2000
  • velocity ([float, float, float]) – [Vx, Vy, Vz] in km/s
  • dpix (ECLAIRsDetectorEffectDefault) – detector effects

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)[source]

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)[source]

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()[source]

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)