Thorlabs Power Meters¶
Driver module for Thorlabs power meters. Supports:
- PM100D
-
class
instrumental.drivers.powermeters.thorlabs.
PM100D
(visa_inst)¶ A Thorlabs PM100D series power meter
-
__init__
(visa_inst)¶
-
auto_range_enabled
()¶ Whether auto-ranging is enabled
Returns: bool Return type: enabled
-
close
()¶
-
disable_auto_range
()¶ Disable auto-ranging
-
enable_auto_range
(enable=True)¶ Enable auto-ranging
-
get_num_averaged
()¶ Get the number of samples to average
Returns: num_averaged – number of samples that are averaged Return type: int
-
get_power
()¶ Get the current power measurement
Returns: power – the current power measurement Return type: Quantity
-
get_range
()¶ Get the current input range’s max power
-
get_wavelength
()¶ Get the input signal wavelength setting
Returns: wavelength – the input signal wavelength in units of [length] Return type: Quantity
-
measure
(n_samples=100)¶ Make a multi-sample power measurement
Parameters: n_samples (int) – Number of samples to take Returns: Measured power, with units and uncertainty, as a pint.Measurement
objectReturn type: pint.Measurement
-
set_num_averaged
(num_averaged)¶ Set the number of samples to average
Each sample takes approximately 3ms. Thus, averaging over 1000 samples would take about a second.
Parameters: num_averaged (int) – number of samples to average
-
set_wavelength
(wavelength)¶ Set the input signal wavelength setting
Parameters: wavelength (Quantity) – the input signal wavelength in units of [length]
-