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

Methods

auto_range_enabled() Whether auto-ranging is enabled
disable_auto_range() Disable auto-ranging
enable_auto_range([enable]) Enable auto-ranging
get_num_averaged() Get the number of samples to average
get_power() Get the current power measurement
get_range() Get the current input range’s max power
get_wavelength() Get the input signal wavelength setting
set_num_averaged(num_averaged) Set the number of samples to average
set_wavelength(wavelength) Set the input signal wavelength setting
__init__(visa_inst)
auto_range_enabled()

Whether auto-ranging is enabled

Returns:bool : enabled
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 : int

number of samples that are averaged

get_power()

Get the current power measurement

Returns:

power : Quantity

the current power measurement

get_range()

Get the current input range’s max power

get_wavelength()

Get the input signal wavelength setting

Returns:

wavelength : Quantity

the input signal wavelength in units of [length]

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]