stoner_measurement.instruments.magnet_controller.KepcoBOPGL¶
- class stoner_measurement.instruments.magnet_controller.KepcoBOPGL(transport: BaseTransport, protocol: BaseProtocol | None = None)[source]¶
Bases:
MagnetController,MagnetSupplyMagnet-supply driver for the Kepco BOP-GL 1 kW family.
The BOP-GL regulates current while voltage protection provides the magnet compliance voltage. Because the supply has no field calibration or ramp command, this driver keeps the magnet constant locally and implements ramps as temporary current LISTs. It never enables the output implicitly.
- DISPLAY_NAME = 'Kepco BOP-GL'¶
- property compliance_voltage: float¶
Return the largest active positive/negative voltage clamp magnitude.
- property limits: MagnetLimits¶
Read the BOP current limits and derive the corresponding field limit.
- property ramp_rate_field: float | None¶
Return the locally stored ramp rate converted to tesla per minute.
- ramp_to_current(current: float, *, wait: bool = False) None[source]¶
Set a current target and start a LIST ramp.
- ramp_to_field(field: float, *, wait: bool = False) None[source]¶
Set a field target and start a LIST ramp.
- set_compliance_voltage(voltage: float) None[source]¶
Set a symmetric fixed voltage-protection clamp in volts.
- set_limits(limits: MagnetLimits) None[source]¶
Program a symmetric current limit and cache field/ramp limits.
- set_magnet_constant(tesla_per_amp: float) None[source]¶
Store the field conversion locally; the BOP-GL has no field setting.
- set_ramp_rate_current(rate: float) None[source]¶
Store the current ramp rate used to construct LIST setpoints.
- set_ramp_rate_field(rate: float) None[source]¶
Store a field ramp rate after conversion to amps per minute.
- set_target_current(current: float) None[source]¶
Cache a final current target without changing the output.
- set_target_field(field: float) None[source]¶
Cache a field target after converting it with the local constant.
- property status: MagnetStatus¶
Return a status snapshot derived from SCPI condition registers.