tlpipe.timestream.ps_cal.Timestream.create_main_time_ordered_dataset¶
-
Timestream.
create_main_time_ordered_dataset
(name, data, axis_order=(0, ), recreate=False, copy_attrs=False, check_align=True)[source]¶ Create a main type time ordered dataset.
Parameters: - name (string) – Name of the dataset.
- data (np.ndarray or MPIArray) – The data to create a dataset.
- axis_order (tuple) – A tuple with the index of 0 denotes time axis of the created dataset.
- recreate (bool, optional) – If True will recreate a dataset with this name if it already exists, else a RuntimeError will be rasised. Default False.
- copy_attrs (bool, optional) – If True, when recreate the dataset, its original attributes will be copyed to the new dataset, else no copy is done. Default Fasle.
- check_align (bool, optional) – If True, check time axis of data align with that of the main data before dataset creating, otherwise create dataset without axis align checking, this may cause the created dataset does not align with the main data. Default True.