tlpipe.timestream.timestream_task.TimestreamTask¶
-
class
tlpipe.timestream.timestream_task.TimestreamTask(parameter_file_or_dict=None, feedback=2)[source]¶ Task that provides raw timestream or timestream IO and data selection operations.
Provides the methods read_input, read_output and write_output for raw timestream or timestream data.
This is usually used as a direct base class as those tasks that operates on timestream data (can be data held in both
RawTimestreamandTimestream), which can determine which data container the data is being held from the input or from data stored in the input data files.Attributes
cacheableOverride to return True if caching results is implemented. embarrassingly_parallelizableOverride to return True if next() is trivially parallelizeable. historyHistory that will be added to the output file. iterationCurrent iteration when iterable is True, None else. params_initprefixMethods
cast_input(input)Override to support accepting pipeline inputs of various types. copy_input(tod)Return a copy of tod, so the original tod would not be changed. data_select(tod)Data select. finish()Final analysis stage of pipeline task. next([input])Should not need to override. process(tod)read_input()Method for reading time ordered data input. read_output(filenames)Override to implement reading outputs from disk. read_process_write(tod)Reads input, executes any processing and writes output. restart_iteration()Re-start the iteration. setup([requires])First analysis stage of pipeline task. show_params()Show all parameters that can be set and their default values of this task. stop_iteration([force_stop])Determine whether to stop the iteration. subset_select(tod)Data subset select. write_output(output)Method for writing time ordered data output.