parse_channels¶
-
mapsims.
parse_channels
(filter='all', instrument_parameters='simonsobs_instrument_parameters_2020.06')[source] [edit on github]¶ Create a list of Channel objects from a HDF5 and an optional filter
Reads a HDF5 file which contains the instruments parameters and parses it into a list of Channel objects, by default all channels are included.
Parameters: - instrument_parameters : str or Path
See the instrument_parameters argument of MapSim
- filter : str or None
See the channels argument of MapSim
Returns: - channel_objects_list : list of Channel objects or list of tuples of Channel objects
List of the selected Channel objects, in case of tubes, we return a list where each element is the tuple of the Channel objects in a tube. This is useful to simulate correlated noise.