...
Examples
Examples of how to acquire and plot a spectrum.
TBD
MacMini Setup
Install Requirements
Let’s install pyusb and lsusb
Code Block | ||
---|---|---|
| ||
pip3 install pyusb
brew install libusb |
Install Python Drivers
First, unzip the stellarnet driver library. Second, go to the unzipped folder.
...
Code Block | ||
---|---|---|
| ||
echo 'export PYTHONPATH=$PYTHONPATH:/Users/estevespandora_ctrl/DownloadsDesktop/Python_StellarNet_Driver_2-6/stellarnet_driverLibs' >> ~/.zshrc source ~/.zshrc |
...
Run the demo python script to make sure your code is working properly.
Not setting up a python path
If you do not want to add the stellarnet path to your python you should add the python path before importing the module.
...