cnsi¶
The cnsi module contains functions used to process the microwave power measurement files generated. By 'rb_dnp1' at the CNSI facility.
Functions¶
-
hanlab.cnsi.
get_powers
(path, power_file, experiment_list)¶ Split power readings files into array of power measurements equal in length to number of spectra in dataset
- Parameters
path (str) -- Path to base folder containing power file
power_file (str) -- filename, "power" or "t1_powers"
experiment_list (list) -- list of folder numbers of experiments corresponding to power_file
- Returns
list of power readings equal in length to experiment_list
- Return type
power_list (list)