예제 #1
0
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))
예제 #2
0
def test_from_measurements(data_meas_example_yml):
    calib = CalibrationData.from_measurements(data_meas_example_yml)