pygwb.preprocessing.set_start_time
- pygwb.preprocessing.set_start_time(job_start_GPS: int, job_end_GPS: int, buffer_secs: int, segment_duration: int, do_sidereal: bool = False)[source]
Function to identify segment start times either with or without sidereal option.
- Parameters:
job_start_GPS (
int
) – Integer indicating the start time (in GPS) of the data.job_end_GPS (
int
) – Integer indicating the end time (in GPS) of the data.buffer_secs (
int
) – Number of cropped seconds.segment_duration (
int
) – Duration of each segment.do_sidereal (
bool
, optional) – When this option is turned on, the code considers sidereal days instead of terrestrial days.
- Returns:
- centered_start_time:
int
Integer with the initial time of the segment to be pre-processed.
- centered_start_time: