sandialabs / pyscan

Scientific Measurement Toolbox
https://pyscan.readthedocs.io/en/latest/
MIT License
4 stars 4 forks source link

fix: supress instrument driver import warnings #161

Closed mplilly4395 closed 1 month ago

mplilly4395 commented 1 month ago

Closes #157. Move driver imports that require specialized software libraries into init(). This still needs to be tested for each of the instruments: KeysiteM3302AAWG KeysiteM3302ADAQ AttocubeANC350 HeliosCamera ThorlabsBSC203 ThorlabsBSC303 ThorlabsMFF101 OceanOpticsQEPro PulseBlaster

pyscan can be imported on a computer with no specialized software. For the drivers above, the PulseBlaster has been tested.

Several instrument drivers have missing code: pulseblasternv.py and baslercamera.py, so I removed those imports.