tlpipe.plot.plot_phase.RawTimestream.to_files¶
-
RawTimestream.
to_files
(outfiles, exclude=[], check_status=True, write_hints=True, libver='latest', chunk_vis=True, chunk_shape=None, chunk_size=64)[source]¶ Save the data hold in this container to files.
Parameters: - outfiles (string or list of strings) – File name or a list of file names that data will be saved into.
- exclude (list of strings, optional) – Attributes and datasets in this list will be excluded when save to files. Default is an empty list, so all data will be saved.
- check_status (bool, optional) – Whether to check data consistency before save to files. Default True.
- write_hints (bool, optional) – If True, will write hint class attributes as a ‘hints’ attribute to files, which will be used to re-construct this class when reading data from the saved files. Default True.
- libver ('latest' or 'earliest', optional) – HDF5 library version settings. ‘latest’ means that HDF5 will always use the newest version of these structures without particular concern for backwards compatibility, can be performance advantages. The ‘earliest’ option means that HDF5 will make a best effort to be backwards compatible. Default is ‘latest’.
- chunk_vis (bool, optional) – If True, dataset ‘vis’ and ‘vis_mask’ in the saved files will be chunked. Default True.
- chunk_shape (None or tuple) – The chunk shape to use for dataset ‘vis’ and ‘vis_mask’. If None, the chunk shape will be determined by chunk_size. Default None.
- chunk_size (integer) – If chunk_shape is None, then dataset ‘vis’ and ‘vis_mask’ will be chunked to be approximately this size in unit KB.