ooragan.File#

class ooragan.File(path: str, cryostat_attenuation: float, additional_params: list[str] | None = None)[source]#

Defines a loaded HDF file.

Note

The File objects are created automatically when creating a Dataset from a path.

Parameters:
pathstr

Path to the HDF file.

cryostat_attenuationfloat

Total attenuation present in the cryostat. Must be a negative number.

additional_paramslist of str, optional

list of additional parameter names to extract from the files.

Note

If left to None only 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

Methods

list_params()

Lists available parameter names.

with_param(attribute, parameter)

Adds a Parameter to a file.