sonnet-automation-code
Tools designed to extract Resonant Frequency & Coupling Quality Factor for Microwave Kinetic Inductance Detector Simulations using a Sonnet .csv data file.
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.1%) to scientific vocabulary
Keywords
Repository
Tools designed to extract Resonant Frequency & Coupling Quality Factor for Microwave Kinetic Inductance Detector Simulations using a Sonnet .csv data file.
Basic Info
Statistics
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
Sonnet-Automation-Code
Tools designed to extract Resonant Frequency & Coupling Quality Factor for Microwave Kinetic Inductance Detector Simulations using a Sonnet .csv data file.
The scripts in this repository allow the extraction of Resonant Frqeuency & Qc from a .csv data file exported from the EM Simulation Software Sonnet. The main purpose of these scripts is to automate the extraction of data from large Sonnet data sets and thus the scripts provided here will automate the extraction of Resonant Frequency and Qc for any number of parameter sweeps.
Please Note: These Scripts will only work with 1 single resonant dip to correctly extract f0 & Qc.
Resonant Frequency (f0) is extracted by finding the minimum S21 value for a given frequency range.
$Q_{C}$ is extracted by calculating the Full-Width Half-Max of the S21 dip. Normally, ($Q{Total} = \frac{f0}{FWHM}$) & $\frac{1}{Q{Total}}=\frac{1}{Q{i}} + \frac{1}{Q{C}}$, however $Q{i} \rightarrow \infty$ in Sonnet and so $Q{Total} \approx Q_{C}$.
Outputting Data From Sonnet
Please note: Ensure the data exported from Sonnet is in the form of S-Paramter, Mag and Phase for accurate values. For outputting simulation data from Sonnet to a .csv file, please refer to the Sonnet manual.
https://www.sonnetsoftware.com/support/manuals.asp
How To Use The Automation Scripts
Python Automation Script
For the Python Script, simply enter the file directory of the .csv data file to line 44 (with open(file directory, "r") as csvfile). The script will output all Parameter names, Resonant Frequencies and Qc Factor for all Parameters into the Python console.
If you wish to plot data, each frequency range is stored in the "b" variable and S-paramter data is stored in S11Mag, S11Phase, S21Mag & S21Phase variables respectively.
All Parameter names are stored in title All f0 values are stored in acresfreq All Qc values are stored in QualFac_
MatLab Automation Script
For the Matlab Script, make sure the data file is on the correct path. Then use the function "ResExtract(filename)". For Example: [ResonantFrequencies, QFactors]=ResExtract(filename).
Owner
- Login: scathalmca
- Kind: user
- Repositories: 1
- Profile: https://github.com/scathalmca
Citation (citation.cff)
cff-version: 1.2.0 message: "If you use any of the software shown, please cite the author as shown below." authors: - family-names: "McAleer" given-names: "Cáthal" orcid: "https://orcid.org/0000-0002-6772-2740" - family-names: "Creaner" given-names: "Oisin" orcid: "https://orcid.org/0000-0002-1080-0090" - family-names: "Bracken" given-names: "Colm" orcid: "https://orcid.org/0000-0002-0773-7721" - family-names: "Ulbricht" given-names: "Gerhard" orcid: "https://orcid.org/0000-0002-6497-3763" - family-names: "De Lucia" given-names: "Mario" orcid: "https://orcid.org/0000-0002-0519-9149" - family-names: "Piercy" given-names: "Jack" orcid: "https://orcid.org/0000-0003-4023-5122" title: "Sonnet-Automation-Code" version: 1.0.0 date-released: 2023-07-20 url: "https://github.com/scathalmca/Sonnet-Automation-Code/"
GitHub Events
Total
- Push event: 2
Last Year
- Push event: 2