save_cal_dict

ndmapper.calibrations.save_cal_dict(cal_dict, filename)[source] [edit on github]

Save the provided calibration dictionary as a user-editable JSON file.

Parameters:

cal_dict : dict

A dictionary of calibration files & associations, in the format produced by init_cal_dict().

filename : str

Name of the JSON cache file to save the dictionary to.