def make(filename, output_path): cd = CalibrationData.from_measurements(filename) if output_path is None: print(repr(cd)) else: with open(output_path, "w") as f: f.write(repr(cd))
def test_from_measurements(data_meas_example_yml): calib = CalibrationData.from_measurements(data_meas_example_yml)