tlpipe.container.raw_timestream.RawTimestream.create_bl_ordered_dataset

RawTimestream.create_bl_ordered_dataset(name, data, axis_order=None, recreate=False, copy_attrs=False, check_align=True)[source]

Create a baseline 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 denotes baseline 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 baseline 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.