freegs.test_sensors

freegs.test_sensors#

Functions

test_flux()

Testing analytical flux agaisnt the numerical sensor output for a single coil

test_iso_flux()

Similarly to earlier test, checks the 2 points of isoflux and ensures sensor meaurement confirms constraint

test_offaxis_Bfield()

Using the analytical equation for off axis b field due to a single coil loop And comparing to result returned from running the sensors Note - although the equation is analytic, its evaluation requires the use of elliptic integrals, therefore cannot be said to be exact

test_rog_around_Filamentcoil()

test_rog_around_Shapedcoil()

Test single Rog around a coil

test_rog_around_circuit()

test_rog_around_coil()

Test single Rog around a coil

test_rog_with_plasma()

Testing Rog around a plasma profile

test_xpoint_field()

Runs a basic equilibrium with constraints, checks if the sensors measure the correct constraints value