attune.workup.tune_test¶
-
attune.workup.
tune_test
(data, channel, curve=None, *, level=False, cutoff_factor=0.01, autosave=True, save_directory=None)[source]¶ Workup a Tune Test.
- Parameters
data (wt.data.Data object) – should be in (setpoint, detuning)
curve (attune_curve object) – tuning curve used to do tune_test
channel_nam (str) – name of the signal chanel to evalute
level (bool (optional)) – does nothing, default is False
cutoff_factor (float (optoinal)) – minimum value for datapoint/max(datapoints) for point to be included in the fitting procedure, default is 0.01
autosave (bool (optional)) – saves output curve if True, default is True
save_directory (str) – directory to save new curve, default is None which uses the data source directory
- Returns
New curve object.
- Return type
curve