qmi.instruments.boston_micromachines.multidm.read_mirror_shape

qmi.instruments.boston_micromachines.multidm.read_mirror_shape(file_name: str) List[float]

Read a mirror shape from a file.

This function expects the file in the same format used by the Boston Micromachines software: a plain text file containing one line per actuator, each line containing a single floating point number.

Parameters:

file_name – Name of the file to read.

Returns:

List of actuator values in the range 0.0 to 1.0.