High-level object-oriented Python package for Digitizers and Generators
Bangalore, India. – 17. May 2024. Spectrum Instrumentation presents a new
open-source Python package (“spcm”) that is now available for the current line
of all Spectrum Instrumentation test and measurement products. The new package
makes the programming of all 200+ instruments, offering sampling rates from 5
MS/s to 10 GS/s, faster and easier. Python, popular for its simplicity,
versatility and flexibility, boasts an extensive collection of libraries and
frameworks (such as NumPy) that significantly accelerates programming
development cycles. The new spcm package allows users to take full advantage of
the Python language by providing a high-level Object-Oriented Programming (OOP)
interface that is specifically designed for the Spectrum Instrumentation
Digitizer, AWG and Digital I/O products. It includes the full source code as
well as a number of detailed examples. Available on GitHub, spcm is free of
charge under the MIT license.
Installing
the package is easy, thanks to its availability in the pip repository. Simply
install Python and then the package with a single command: $ pip install spcm
Users
can include the Spectrum Instrumentation Python package in their own programs,
or fork to the repository to add more functionality. The package is directly
maintained by Spectrum engineers and updates are released regularly offering
bug-fixes and new features.
The example
in the photo shows the opening of the first analog-output card (AWG) and programming of a simple 10 MHz sine-wave
output using the DDS option.
The Spectrum Python repository is found under: https://github.com/SpectrumInstrumentation/spcm
About
Spectrum Instrumentation