tlpipe.plot.plot_waterfall.RawTimestream.time_data_operate¶
-
RawTimestream.
time_data_operate
(func, full_data=False, copy_data=False, show_progress=False, progress_step=None, keep_dist_axis=False, **kwargs)[source]¶ Data operation along the time axis.
Parameters: - func (function object) – The opertation function object. It is of type func(vis, vis_mask, local_index, global_index, jul_date, self, **kwargs), which will be called in a loop along the time axis.
- full_data (bool, optional) – Whether the operations of func will need the full data section corresponding to the axis index, if True, data will first redistributed along the time axis. Default False.
- copy_data (bool, optional) – If True, func will operate on a copy of the data, so changes will have no impact on the data the container holds. Default False.
- show_progress (bool, optional) – If True, some progress info will show during the executing. Default False.
- progress_step (int or None) – Show progress info every this number of steps. If None, appropriate progress step will be chosen automatically. Default None.
- keep_dist_axis (bool, optional) – Whether to redistribute main data to the original axis if the dist axis has changed during the operation. Default False.
- **kwargs (any other arguments) – Any other arguments that will passed to func.