caproto.ioc_examples.decay.Decay¶

- class caproto.ioc_examples.decay.Decay(*args, **kwargs)[source]¶
Simulates an exponential decay to a set point.
Follows \(T_{output} = T_{var} exp^{-(t - t_0)/K} + T_{setpoint}\)
The default prefix is decay:
Decay pvproperties¶ Attribute
Suffix
Docs
Type
Notes
Alarm Group
K
KThe decay constant.
float
Tvar
TvarThe scale of the initial excursion.
float
done
doneWhether the current value is ‘close’ to the setpoint or not.
bool (
bi)Read-only
readback
IThe current readback value.
float (
ai)Read-only
setpoint
SPWhere to go - the setpoint.
float
Put
Methods
group_read(instance)Generic read called for channels without get defined
group_write(instance, value)Generic write called for channels without put defined
reset_t0()Attributes
default_valuestype_maptype_map_read_onlypvproperty methods