attune.setpoint(*, data, channel, arrangement, tune, instrument=None, autosave=True, save_directory=None, **spline_kwargs)[source]

Workup a generic setpoint plot for a single tune.

  • data ( object) – should be in (setpoint, tune)

  • channel ( or int or str) – channel to process

  • arrangement (str) – name of the arrangement to modify

  • tune (str) – name of the tune to modify in the instrument

  • instrument (attune.Curve, optional) – instrument object to modify (Default None: make a new instrument)

  • autosave (bool, optional) – toggles saving of instrument file and images (Defaults to True)

  • save_directory (Path-like) – where to save (Defaults to current working directory)

  • **spline_kwargs (optional) – extra arguments to pass to spline creation (e.g. s=0, k=1 for linear interpolation)


New instrument object.

Return type: