mwavepy.calibration.calibration.Calibration.apply_cal_to_all_in_dir

Calibration.apply_cal_to_all_in_dir(dir, contains=None, f_unit='ghz')

convience function to apply calibration to an entire directory of measurements, and return a dictionary of the calibrated results, optionally the user can ‘grep’ the direction by using the contains switch.

takes:

dir: directory of measurements (string) contains: will only load measurements who’s filename contains

this string.
f_unit: frequency unit, to use for all networks. see
frequency.Frequency.unit for info.
returns:
ntwkDict: a dictionary of calibrated measurements, the keys
are the filenames.

Previous topic

mwavepy.calibration.calibration.Calibration.apply_cal

Next topic

mwavepy.calibration.calibration.Calibration.biased_error

This Page