Library functions to fit and plot measurement data from microwave spectroscopy
The modules are
microwave_analysis.resonanceswith fit functions for various complex valued resonance shapes and factory functions to makelmfitmodels for the fit functions.microwave_analysis.lmfitmanywith functions to run the samelmfitmodel along the last axis of a large dataset. Can also run in multiple subprocesses to parallelize on multiple CPU cores.microwave_analysis.twoportwith functions for calculating properties of two-port networks, i.e. converting scattering matrix to ABCD matrix.microwave_analysis.sonnetparserwith function to read output files from the Sonnet EM software.
To make use of this package, either
- Put it in the same folder as the script where you try to import it.
- Put the folder containing this package into the PYTHONPATH environment variable, eg. https://stackoverflow.com/q/3402168 or https://stackoverflow.com/a/32609129