python-seabreeze: Flame-S spectrometer is seen but doesn't report data
spectrometer and system information
- model: Flame-S supposed to be the same as USB-2000PLUS I believe
- operating system: MacOS 15.5.5
- python version: 3.7.7 (via Anaconda)
- python-seabreeze version: v1.1.0 I believe
- installed-via: conda and python for anaconda
current problem
The python code only appears to communicate and give the name / serial number. No data appears to be return for .wavelengths() or .intensities(). I could easily have made a mistake somewhere in the install perhaps.
minimal code example and error (very helpful if available)
Here is example code:
- run code example
import seabreeze
seabreeze.use('pyseabreeze')
from seabreeze.spectrometers import list_devices, Spectrometer
devices = list_devices()
print (devices)
spec = Spectrometer.from_serial_number("FLMS16723")
spec.open()
spec.wavelengths()
data = spec.intensities(correct_dark_counts=True, correct_nonlinearity=True)
print ("Dim: ", data.ndim)
print ("Shape: ", data.shape)
print ("size: ", data.size)
data[0]
data
spec.close()
- Output:
[\<SeaBreezeDevice USB2000PLUS:FLMS16723\>]
Dim: 1
Shape: (2048,)
size: 2048
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 15 (7 by maintainers)
No worries ๐ Iโm quite busy currently too, and weโre not at all in a rush. Iโll see if I can put together a guide on how to setup everything needed for running tests on macos ๐
Cheers, Andreas ๐