read_svo_att¶
-
read_svo_att(att_filename, dirin, time_obs)[source]¶ read the svo_att fits file and return the attitude corresponding to the time_obs
if time_obs < time in file -> return first attitude if time_obs > time in file -> return last attitude
Parameters: - att_filename (string) – name of the attitude file
- dirin (string) – PATH to the directory of the attitude file
- time_obs (float) – time of the beginning of the observation in s from mjdref
Returns: attitude in s [ra, dec, ori]
Return type: [float, float, float]