get_position

get_position#

method

MAX31X.get_position(channel: int = None) float[source]#

Gets the current position of the requested channel, as measured by the device. Gets all three channels if no channel is specified.

Parameters:
channelint, optional

The channel to get the position for. If not specified, gets position of all channels.

Returns:
positionfloat or [float]

The current position in microns. A single float for a specific channel, or an array (length 3) for all channels.