_images/sknrf_logo.png

Source

Source

Issue Tracker

Issue Tracker

Forum

Forum

Tutorial

Tutorial

Indices and tables

Build Flow

Building and Deploying Python code with native shared libraries a continuously involving ordeal, hence I have provided the equivalent CMake/Makefile command in comments to be relatable to C++. Internally Cmake and Make are invoked. The build-flow currently uses setuptools, which is deprecated in Python 3.12.

Install Dependencies

See requirements.txt

Environment Variables

Variable Default Value Description
SKNRF_DIR import site ; site.getsitepackages()[0] Python SKNRF Module Directory
CONDA_PREFIX /usr/local C++ Sysroot
VISA_LIB @py Visa Library Location

Release Build

.:

sudo python3 setup.py clean                              # sudo make clean
python3 setup.py config                                  # cmake ..
python3 setup.py build                                   # make
sudo python3 setup.py install                            # sudo make install

Example

.:

python3 ${SKNRF_DIR}/sknrf/main.py

Tests

.:

cd ${SKNRF_DIR}/sknrf ; nosetests --config=nose.cfg

Runtime Configuration

${SKNRF_DIR}/sknrf/sknrf.yml contains runtime configuration settings. Beware of Environment Variables set in this file.

Measurement Architectures

LF Source

DC Supply

AWG

DAC

 

 

LF Receiver

Multimeter

Oscilloscope

ADC

 

 

LF Impedance

Open/Short Circuit

Varactor

Active Load

 

 

RF Source

Signal Generator

VSG

AWG

Pulse Generator

SRD

RF Receiver

VNA

VSA

Power-Meter

Oscilloscope

Sampling Scope

RF Impedance

50 Ohms

Passive Load

Active Load

 

 

Time/Frequency-Domain Characterization

Contributors

Dylan T Bespalko.