Tools
Tools for Bob module of QOSST.
Calibrate eta voltage
Script to calibrate eta for detectors with monitoring output in voltage.
- class qosst_bob.tools.calibrate_eta_voltage.CalibrateEtaVoltageData(power_values: ndarray, voltage1_values: ndarray, voltage2_values: ndarray)
Data container for the calibration of eta.
- Parameters:
power_values (np.ndarray) – array of optical powers.
voltage1_values (np.ndarray) – array of voltages on monitoring output 1.
voltage2_values (np.ndarray) – array of voltages on monitoring output 2.
- class qosst_bob.tools.calibrate_eta_voltage.Configuration(gain: float, voltmeter1_device: str = 'qosst_hal.voltmeter.FakeVoltMeter', voltmeter2_device: str = 'qosst_hal.voltmeter.FakeVoltMeter', voltmeter1_location: str = '', voltmeter2_location: str = '', voltmeter1_timeout: int = 1000, voltmeter2_timeout: int = 1000, powermeter_device: str = 'qosst_hal.powermeter.FakePowerMeter', powermeter_location: str = '', voa_class: str = 'qosst_hal.voa.FakeVOA', voa_location: str = '', voa_start_value: float = 0.0, voa_end_value: float = 5.0, voa_step_value: float = 0.05, beam_splitter_conversion_factor_pm_to_bob: float = 1)
Configuration object for the eta voltage script.
- qosst_bob.tools.calibrate_eta_voltage.calibration_eta_voltage(args: Namespace)
Measure eta using monitoring voltage.
- Parameters:
args (argparse.Namespace) – the arguments given to the command line script.
Commands
Commands for Bob tools submodule.
- qosst_bob.tools.commands._create_parser() ArgumentParser
Create the parser for bob tools.
- Commands:
eta_voltage gain
- Returns:
the main parser.
- Return type:
argparse.ArgumentParser
- qosst_bob.tools.commands.main()
Main entrypoint of the command.