read_evt_sec

read_evt_sec(evt_filename, dirin)[source]

read the ecl_evt_sec file and return the times of the beginning and end of the observation

Parameters:
  • evt_filename (string) – name of the event file
  • dirin (string) – PATH to the directory of the event file

attention ! avec le vrai ECL-EVT-SEC le temps sera en seconde (seconde depuis une ref ?) :return: start_time, end_time in s from mjdref :rtype: float, float