EclairsObservation¶
-
class
EclairsObservation(t_0, t_1, eclairs_attitude, position, velocity, dpix: ecpi.common.instru.model_effect.ECLAIRsDetectorEffect)[source]¶ Bases:
objectObservation 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 (ECLAIRsDetectorEffect) – 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