caput.tod.Reader.select_time_range

Reader.select_time_range(start_time=None, stop_time=None)[source]

Sets time_sel to include a time range.

The times from the samples selected will have bin centre timestamps that are bracketed by the given start_time and stop_time.

Parameter time should be in the same format as TOData.time, and mush be comparable through standard comparison operator (<, >=, etc.). Conversion using TOData.convert_time() is attempted.

Parameters:

start_time : scalar time

Affects the first element of time_sel. Default leaves it unchanged.

stop_time : scalar time

Affects the second element of time_sel. Default leaves it unchanged.