de_twin.holder.SimHeatingHolder#

class de_twin.holder.SimHeatingHolder(reason='Simulated MEMS heating holder (de_twin).', *, clock=None, bias=False, tau_s=0.005, overshoot=0.0, ambient_c=25.0, max_c=1300.0, r0_ohm=500.0, alpha_per_c=0.003, conductance_w_per_k=3e-05, emissivity_area_m2=3e-07, sample_r0_ohm=1000000.0, sample_decay_c=200.0, noise_c=0.01, seed=0)[source]#

Bases: object

Simulated MEMS heating (and optionally biasing) holder.

Parameters:
__init__(reason='Simulated MEMS heating holder (de_twin).', *, clock=None, bias=False, tau_s=0.005, overshoot=0.0, ambient_c=25.0, max_c=1300.0, r0_ohm=500.0, alpha_per_c=0.003, conductance_w_per_k=3e-05, emissivity_area_m2=3e-07, sample_r0_ohm=1000000.0, sample_decay_c=200.0, noise_c=0.01, seed=0)[source]#
Parameters:

Methods

__init__([reason, clock, bias, tau_s, ...])

close()

describe()

flag(text)

heater_power(temp_c[, dtdt])

heater_resistance(temp_c)

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

read()

sample_resistance(temp_c)

set(value, *[, channel])

state([t])

HolderState at clock time t (default now).

stop()

Hold where the setpoint has got to (not "go cold").

wait_for_control([timeout_s])

Attributes

real = False#
heater_resistance(temp_c)[source]#
Parameters:

temp_c (float)

Return type:

float

heater_power(temp_c, dtdt=0.0)[source]#
Parameters:
Return type:

float

sample_resistance(temp_c)[source]#
Parameters:

temp_c (float)

Return type:

float

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]#

Hold where the setpoint has got to (not “go cold”).

Return type:

None

flag(text)[source]#
Parameters:

text (str)

Return type:

None

property flags: list[tuple[float, str]]#
describe()[source]#
Return type:

str

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

timeout_s (float)

Return type:

bool

state(t=None)[source]#

HolderState at clock time t (default now). t in the past reads the current state (the model does not rewind).

Parameters:

t (float | None)

Return type:

HolderState

close()[source]#
Return type:

None