pysp2.io.read_calibration#
- pysp2.io.read_calibration(directory)[source]#
This reads data from a bead calibration from the SP2. Each dataset is stored in a dictionary whose keys correspond to a given scattering or incadescence diameter in nm.
- Parameters:
directory (str) – The path to the calibration data. The directory must contain processed .dat files for each segment as well as .txt files that describe what diameter each .dat file corresponds to.
- Returns:
my_dat (dict) – A dictionary storing the dataset for each scattering/incadescence diameter.