caproto.ioc_examples.decay.Decay

Inheritance diagram of 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

K

The decay constant.

float

Tvar

Tvar

The scale of the initial excursion.

float

done

done

Whether the current value is ‘close’ to the setpoint or not.

bool (bi)

Read-only

readback

I

The current readback value.

float (ai)

Read-only

setpoint

SP

Where 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_values

type_map

type_map_read_only

pvdb

attr_pvdb

attr_to_pvname

groups

pvproperty methods