ecpi.common.mission.observation module

Section author: ECLAIRs GP team

Position attitude ECLAIRs #TODO: to remove replace by data flow

Summary

Classes:

EclairsObservation

Observation of the ECLAIRs instrument

EclairsObservationImag

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

Class diagram:

_images/classes_ecpi.common.mission.observation.png

Reference

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

Bases: object

Observation of the ECLAIRs instrument

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)

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)