Yokogawa AQ6370 Series of Optical Spectrum Analyzers
- class pymeasure.instruments.yokogawa.aq6370series.AQ6370Series(adapter, name='Yokogawa AQ3670D OSA', baud_rate=115200, **kwargs)
Bases:
SCPIMixin,InstrumentRepresents Yokogawa AQ6370 Series of optical spectrum analyzer.
- TRA
- Channel:
Trace
- TRB
- Channel:
Trace
- TRC
- Channel:
Trace
- TRD
- Channel:
Trace
- TRE
- Channel:
Trace
- TRF
- Channel:
Trace
- TRG
- Channel:
Trace
- abort()
Stop operations such as measurements and calibration.
- property active_trace: Any
Control the active trace (str ‘A’, ‘B’, ‘C’, …).
- authenticate_ethernet(username, password='')
Authenticate for an ethernet connection.
- property automatic_sample_number: Any
Control the automatic sample number (bool).
- property calc_result: Any
Get the results of the last analysis.
- copy_trace(source, destination)
Copy the data of specified trace to the another trace.
- Parameters:
source – Source trace (str ‘A’, ‘B’, ‘C’, …).
destination – Destination trace (str ‘A’, ‘B’, ‘C’, …).
- delete_trace(trace)
Delete the specified trace.
- Parameters:
trace – Trace to be deleted (str ‘ALL’, ‘A’, ‘B’, ‘C’, …).
- execute_analysis()
Execute the analysis with the current analysis settings.
- get_analysis()
Query the analysis results of latest analysis. If no analysis has been performed, returns query error.
- get_xdata(trace='TRA')
Measure the x-axis data of specified trace, output wavelength in m.
- Parameters:
trace – Trace to measure (str ‘A’, ‘B’, ‘C’, …). (default:
'TRA')- Returns:
The x-axis data of specified trace.
- get_ydata(trace='TRA')
Measure the y-axis data of specified trace, output power in dBm.
- Parameters:
trace – Trace to measure (str ‘A’, ‘B’, ‘C’, …). (default:
'TRA')- Returns:
The y-axis data of specified trace.
- initiate_sweep()
Initiate a sweep.
- property level_position: Any
Control the reference level position regarding divisions (int, smaller than total number of divisions which is either 8, 10 or 12).(dynamic)
- property reference_level: Any
Control the reference level of main scale of level axis (float in dBm).
- property resolution_bandwidth: Any
Control the measurement resolution (float in m, discrete values: [0.02e-9, 0.05e-9, 0.1e-9, 0.2e-9, 0.5e-9, 1e-9, 2e-9] m).(dynamic)
- property sample_number: Any
Control the sample number (int from 51 to 50001).
- property sensitivity: Any
Control the sweep sensitivity (str ‘NHLD’, ‘NAUT’, ‘NORM’, ‘MID’, ‘HIGH1’, ‘HIGH2’, ‘HIGH3’)
- set_level_position_to_max()
Set the reference level position to the maximum value.
- property sweep_complete: Any
Get the completion status of the sweep (bool, True if complete).
- property sweep_mode: Any
Control the sweep mode (str ‘SINGLE’, ‘REPEAT’, ‘AUTO’, ‘SEGMENT’).
- property sweep_time_interval: Any
Control the sweep time interval (int from 0 to 99999 s).
- property transfer_format: Any
Control the data transfer format. It returns to default ASCII at reset.
- trigger()
Perform a single sweep according to previous conditions.
- wait_for_sweep_complete(should_stop=<function AQ6370Series.<lambda>>, timeout=3600, delay=0)
Block the program, waiting for the sweep to complete.
- Parameters:
should_stop – Function that returns True to stop waiting. (default:
<function AQ6370Series.<lambda> at 0x729399ae89e0>)timeout – Maximum waiting time, in seconds. (default:
3600)delay – Delay between checks for sweep completion, in seconds. (default:
0)
- Returns:
True when sweep completed, False if stopped by should_stop.
- Raises:
TimeoutError – If the sweep does not complete within the timeout period.
- property wavelength_automatic_center: Any
Control whether the wavelength center follows the maximum (bool).
- property wavelength_center: Any
Control measurement condition center wavelength (float in m).(dynamic)
- property wavelength_span: Any
Control wavelength span (float from 0 to 1100e-9 m).(dynamic)
- property wavelength_start: Any
Control the measurement start wavelength (float from 50e-9 to 2250e-9 in m).(dynamic)
- property wavelength_stop: Any
Control the measurement stop wavelength (float from 50e-9 to 2250e-9 in m).(dynamic)
- class pymeasure.instruments.yokogawa.aq6370series.AQ6370E(adapter, name='Yokogawa AQ3670D OSA', baud_rate=115200, **kwargs)
Bases:
AQ6370SeriesRepresents Yokogawa AQ6370E optical spectrum analyzer.
- TRA
- Channel:
Trace
- TRB
- Channel:
Trace
- TRC
- Channel:
Trace
- TRD
- Channel:
Trace
- TRE
- Channel:
Trace
- TRF
- Channel:
Trace
- TRG
- Channel:
Trace
- property sensitivity_level: Any
Control the sweep sensitivity by specifying the sensitivity level you want to measure at, in dBm. The sensitivity closest to that level, and the sweep speed are automatically selected.
- property sweep_speed: Any
Control the sweep speed (str ‘1x’ or ‘2x’ for double speed).
- class pymeasure.instruments.yokogawa.aq6370series.AQ6370D(adapter, name='Yokogawa AQ3670D OSA', baud_rate=115200, **kwargs)
Bases:
AQ6370SeriesRepresents Yokogawa AQ6370D optical spectrum analyzer.
- TRA
- Channel:
Trace
- TRB
- Channel:
Trace
- TRC
- Channel:
Trace
- TRD
- Channel:
Trace
- TRE
- Channel:
Trace
- TRF
- Channel:
Trace
- TRG
- Channel:
Trace
- property sweep_speed: Any
Control the sweep speed (str ‘1x’ or ‘2x’ for double speed).
- class pymeasure.instruments.yokogawa.aq6370series.AQ6370C(adapter, name='Yokogawa AQ3670D OSA', baud_rate=115200, **kwargs)
Bases:
AQ6370SeriesRepresents Yokogawa AQ6370C optical spectrum analyzer.
- TRA
- Channel:
Trace
- TRB
- Channel:
Trace
- TRC
- Channel:
Trace
- TRD
- Channel:
Trace
- TRE
- Channel:
Trace
- TRF
- Channel:
Trace
- TRG
- Channel:
Trace
- property sweep_speed: Any
Control the sweep speed (str ‘1x’ or ‘2x’ for double speed).
- class pymeasure.instruments.yokogawa.aq6370series.AQ6373(adapter, name='Yokogawa AQ3670D OSA', baud_rate=115200, **kwargs)
Bases:
AQ6370SeriesRepresents Yokogawa AQ6373 optical spectrum analyzer.
- TRA
- Channel:
Trace
- TRB
- Channel:
Trace
- TRC
- Channel:
Trace
- TRD
- Channel:
Trace
- TRE
- Channel:
Trace
- TRF
- Channel:
Trace
- TRG
- Channel:
Trace
- class pymeasure.instruments.yokogawa.aq6370series.AQ6373B(adapter, name='Yokogawa AQ3670D OSA', baud_rate=115200, **kwargs)
Bases:
AQ6373Represents Yokogawa AQ6373B variant optical spectrum analyzer.
- TRA
- Channel:
Trace
- TRB
- Channel:
Trace
- TRC
- Channel:
Trace
- TRD
- Channel:
Trace
- TRE
- Channel:
Trace
- TRF
- Channel:
Trace
- TRG
- Channel:
Trace
- property sweep_speed: Any
Control the sweep speed (str ‘1x’ or ‘2x’ for double speed).
- class pymeasure.instruments.yokogawa.aq6370series.AQ6375(adapter, name='Yokogawa AQ3670D OSA', baud_rate=115200, **kwargs)
Bases:
AQ6370SeriesRepresents Yokogawa AQ6375 optical spectrum analyzer.
- TRA
- Channel:
Trace
- TRB
- Channel:
Trace
- TRC
- Channel:
Trace
- TRD
- Channel:
Trace
- TRE
- Channel:
Trace
- TRF
- Channel:
Trace
- TRG
- Channel:
Trace
- class pymeasure.instruments.yokogawa.aq6370series.AQ6375B(adapter, name='Yokogawa AQ3670D OSA', baud_rate=115200, **kwargs)
Bases:
AQ6375Represents Yokogawa AQ6375B variant optical spectrum analyzer.
- TRA
- Channel:
Trace
- TRB
- Channel:
Trace
- TRC
- Channel:
Trace
- TRD
- Channel:
Trace
- TRE
- Channel:
Trace
- TRF
- Channel:
Trace
- TRG
- Channel:
Trace
- property sweep_speed: Any
Control the sweep speed (str ‘1x’ or ‘2x’ for double speed).