de_twin.holder.ImpulseFollower#

class de_twin.holder.ImpulseFollower(impulse=None, *, clock=None)[source]#

Bases: object

A real DENS holder through impulsePy (or any object with its API).

Parameters:

impulse (Any)

__init__(impulse=None, *, clock=None)[source]#
Parameters:

impulse (Any)

Methods

__init__([impulse, clock])

close()

describe()

flag(text)

ramp(value, *[, rate_c_per_s, seconds, channel])

read()

set(value, *[, channel])

state([t])

The holder's latest sample as a HolderState (t only stamps it).

stop()

wait_for_control([timeout_s])

Attributes

real = True#
reason = ''#
property busy: bool#
read()[source]#
Return type:

Reading

set(value, *, channel='temperature')[source]#
Parameters:
Return type:

None

ramp(value, *, rate_c_per_s=None, seconds=None, channel='temperature')[source]#
Parameters:
Return type:

None

stop()[source]#
Return type:

None

flag(text)[source]#
Parameters:

text (str)

Return type:

None

describe()[source]#
Return type:

str

wait_for_control(timeout_s=30.0)[source]#
Parameters:

timeout_s (float)

Return type:

bool

state(t=None)[source]#

The holder’s latest sample as a HolderState (t only stamps it).

Parameters:

t (float | None)

Return type:

HolderState

close()[source]#
Return type:

None