freegs.machine.RogowskiSensor#

class freegs.machine.RogowskiSensor(R, Z, name=None, weight=1, status=True, measurement=None)[source]#

Bases: Sensor

Represents a Rogowski sensor. Consists of an ordered list of (R,Z) points (defines polygon on which sensor lies) Returns current inside the loop

__init__(R, Z, name=None, weight=1, status=True, measurement=None)[source]#

Methods

__init__(R, Z[, name, weight, status, ...])

get_measure(tokamak, eq)

Method to update the current attribute of the sensor with whatever current is contained within the sensor if sensor is on (status == True)

plot(axis)

get_measure(tokamak, eq)[source]#

Method to update the current attribute of the sensor with whatever current is contained within the sensor if sensor is on (status == True)

plot(axis)[source]#