OceanOptics Spectrometer

Pieces for interacting with OceanOptics spectrometers using the python-seabreeze library and the puzzlepiece framework.

Example usage (see Getting started for more details on using Pieces in general):

import puzzlepiece as pzp
from pzp_hardware.oceanoptics import spectrometer

app = pzp.QApp()
puzzle = pzp.Puzzle(debug=False)
puzzle.add_piece("spectrometer", spectrometer.Piece, row=0, column=0)
puzzle.show()
app.exec()

Installation

Requirements

This Piece has additional requirements. You will be asked to install them at runtime, or you may choose to install them ahead of time.

Available Pieces

class pzp_hardware.oceanoptics.spectrometer.Piece(puzzle=None, custom_horizontal=None, param_defaults=None, *args, **kwargs)[source]

Bases: Piece

A very basic Piece for getting values and wavelengths from an OceanOptics spectrometer. Contributions welcome to expose more options!

../_images/pzp_hardware.oceanoptics.spectrometer.Piece.png