attune.map_ind_points

attune.map_ind_points(instrument, arrangement, tune, setpoints, units=None)[source]

Map the independent values of a tune onto new setpoints.

Parameters:
  • instrument (Instrument) – The instrument object to alter.

  • arrangement (str) – The name of the arrangemnt to alter.

  • tune (str) – The name of the tune to alter.

  • setpoints (array-like) – The new setpoints to map the tune to.

  • units (Optional[str]) – The units of the new setpoints, will be converted to the original units. If not given, original units are assumed.

Returns:

The instrument with the tune remapped to new setpoints.

Return type:

Instrument