# Anritsu MS9710C Optical Spectrum Analyzer

class `pymeasure.instruments.anritsu.``AnritsuMS9710C`(adapter, **kwargs)

  Bases: `pymeasure.instruments.instrument.Instrument`

  Anritsu MS9710C Optical Spectrum Analyzer.

  property `analysis`

    Analysis Control

  property `analysis_result`

    Read back anaysis result from current scan.

  property `average_point`

    Number of averages to take on each point (2-1000), or OFF

  property `average_sweep`

    Number of averages to make on a sweep (2-1000) or OFF

  `center_at_peak`(**kwargs)

    Center the spectrum at the measured peak.

  property `data_memory_a_condition`

    Returns the data condition of data memory register A. Starting wavelength, and a sampling point (l1, l2, n).

  property `data_memory_a_size`

    Returns the number of points sampled in data memory register A.

  property `data_memory_a_values`

    Reads the binary data from memory register A.

  property `data_memory_b_condition`

    Returns the data condition of data memory register B. Starting wavelength, and a sampling point (l1, l2, n).

  property `data_memory_b_size`

    Returns the number of points sampled in data memory register B.

  property `data_memory_b_values`

    Reads the binary data from memory register B.

  property `data_memory_select`

    Memory Data Select.

  property `dip_search`

    Dip Search Mode

  property `ese2`

    Extended Event Status Enable Register 2

  property `esr2`

    Extended Event Status Register 2

  property `level_lin`

    Level Linear Scale (/div)

  property `level_log`

    Level Log Scale (/div)

  property `level_opt_attn`

    Optical Attenuation Status (ON/OFF)

  property `level_scale`

    Current Level Scale

  property `measure_mode`

    Returns the current Measure Mode the OSA is in.

  `measure_peak`()

    Measure the peak and return the trace marker.

  property `peak_search`

    Peak Search Mode

  `read_memory`(slot='A')

    Read the scan saved in a memory slot.

  property `resolution`

    Resolution (nm)

  property `resolution_actual`

    Resolution Actual (ON/OFF)

  property `resolution_vbw`

    Video Bandwidth Resolution

  property `sampling_points`

    Number of sampling points

  `single_sweep`(**kwargs)

    Perform a single sweep and wait for completion.

  property `trace_marker`

    Sets the trace marker with a wavelength. Returns the trace wavelength and power.

  property `trace_marker_center`

    Trace Marker at Center. Set to 1 or True to initiate command

  `wait`(n=3, delay=1)

    Query OPC Command and waits for appropriate response.

  `wait_for_sweep`(n=20, delay=0.5)

    Wait for a sweep to stop.

    This is performed by checking bit 1 of the ESR2.

  property `wavelength_center`

    Center Wavelength of Spectrum Scan in nm.

  property `wavelength_marker_value`

    Wavelength Marker Value (wavelength or freq.?)

  property `wavelength_span`

    Wavelength Span of Spectrum Scan in nm.

  property `wavelength_start`

    Wavelength Start of Spectrum Scan in nm.

  property `wavelength_stop`

    Wavelength Stop of Spectrum Scan in nm.

  property `wavelength_value_in`

    Wavelength value in Vacuum or Air

  property `wavelengths`

    Return a numpy array of the current wavelengths of scans.