ooragan.Dataset#
- class ooragan.Dataset(path: str | None = None, cryostat_attenuation: float | None = None, files: list[File] | None = None, additional_params: list[str] | None = None)[source]#
Data container. Contains data and information on measurements saved in HDF5 files.
Attention
Supports only data from HDF5 files as of now. For txt files, use the old Dataset class located in ooragan.old.Dataset.
- Parameters:
- pathstr, optional
Path of the folder for multiple data files or for a single data file.
- cryostat_attenuationfloat, optional
Total attenuation present in the cryostat. Must be a negative number.
- fileslist of Files, optional
List of
Fileto build a dataset from.- additional_paramslist of str, optional, optional
list of additional parameter names to extract from the files.
Note
If left to
Noneonly those parameters will be extracted:VNA
VNA Average
VNA Power
VNA Bandwidth
VNA Frequency
Variable Attenuator
s21_real
s21_imag
s21_mag
s21_phase
Index
Magnet
- Attributes:
- filesdict
Dictionary of the contained files where the keys are the index of the file starting with 0.
Methods
__getitem__(-> ~ooragan.file_loading.File)Returns the File(s) with the given index (or indices).