STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
test_numba_ab_parity.TestChugKernelMatchesPython Class Reference

Public Member Functions

 test_minus_3pi_crossing (self)
 test_randomised_loops (self)

Static Public Attributes

float PC = 3.61e6
 O = dict(mdot=0.9907, eta=0.3745, dPf=648654.0, L=0.6093, A=1.534e-4, tau=1.638e-3)
 F = dict(mdot=0.7122, eta=0.1775, dPf=625208.0, L=0.9913, A=3.534e-4, tau=13.85e-3)

Protected Member Functions

 _case (self, O, F, Z_hf=0.0)

Static Protected Member Functions

 _same (a, b)

Detailed Description

accel.chug_margin_fast is what stability._chug_fast runs whenever the accelerator is on,
so it must be chug.chug_margin_fast to rounding -- including every negative-real-axis
crossing (phases -pi, -3pi, ...), not only the unwrapped -pi one.

Definition at line 336 of file test_numba_ab_parity.py.

Member Function Documentation

◆ _case()

test_numba_ab_parity.TestChugKernelMatchesPython._case ( self,
O,
F,
Z_hf = 0.0 )
protected

Definition at line 347 of file test_numba_ab_parity.py.

References PC.

Referenced by test_minus_3pi_crossing(), and test_randomised_loops().

◆ _same()

test_numba_ab_parity.TestChugKernelMatchesPython._same ( a,
b )
staticprotected

◆ test_minus_3pi_crossing()

◆ test_randomised_loops()

Member Data Documentation

◆ F

test_numba_ab_parity.TestChugKernelMatchesPython.F = dict(mdot=0.7122, eta=0.1775, dPf=625208.0, L=0.9913, A=3.534e-4, tau=13.85e-3)
static

Definition at line 345 of file test_numba_ab_parity.py.

Referenced by test_minus_3pi_crossing(), and test_randomised_loops().

◆ O

test_numba_ab_parity.TestChugKernelMatchesPython.O = dict(mdot=0.9907, eta=0.3745, dPf=648654.0, L=0.6093, A=1.534e-4, tau=1.638e-3)
static

Definition at line 344 of file test_numba_ab_parity.py.

Referenced by test_minus_3pi_crossing(), and test_randomised_loops().

◆ PC

float test_numba_ab_parity.TestChugKernelMatchesPython.PC = 3.61e6
static

Definition at line 343 of file test_numba_ab_parity.py.

Referenced by _case().


The documentation for this class was generated from the following file: