KCL-BMEIS / spectrumdevice

Python library for communicating with digitisers manufactured by Spectrum Instrumentation
MIT License
6 stars 2 forks source link

Updated pyspcm #44

Closed crnbaker closed 9 months ago

crnbaker commented 9 months ago

Fixes #43. Required small hack to bring contents of new pakage py_header into spectrum_gmbh namespace:

in spectrum_gmbh.__init__.py:

import sys


from .py_header import regs, spcerr


sys.modules[__name__ + ".regs"] = regs

sys.modules[__name__ + ".spcerr"] = spcerr