qmix 1.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- qmix/__init__.py +33 -0
- qmix/_omp.py +13 -0
- qmix/circuit.py +801 -0
- qmix/exp/__init__.py +5 -0
- qmix/exp/clean_data.py +206 -0
- qmix/exp/exp_data.py +2175 -0
- qmix/exp/if_data.py +447 -0
- qmix/exp/if_response.py +80 -0
- qmix/exp/iv_data.py +758 -0
- qmix/exp/parameters.py +217 -0
- qmix/harmonic_balance.py +861 -0
- qmix/mathfn/__init__.py +8 -0
- qmix/mathfn/filters.py +56 -0
- qmix/mathfn/ivcurve_models.py +225 -0
- qmix/mathfn/kktrans.py +112 -0
- qmix/mathfn/misc.py +79 -0
- qmix/misc/__init__.py +1 -0
- qmix/misc/progbar.py +35 -0
- qmix/misc/terminal.py +198 -0
- qmix/network.py +717 -0
- qmix/qtcurrent.py +1678 -0
- qmix/respfn.py +988 -0
- qmix/small_signal.py +772 -0
- qmix-1.1.0.dist-info/METADATA +162 -0
- qmix-1.1.0.dist-info/RECORD +42 -0
- qmix-1.1.0.dist-info/WHEEL +5 -0
- qmix-1.1.0.dist-info/licenses/LICENSE +674 -0
- qmix-1.1.0.dist-info/top_level.txt +2 -0
- tests/__init__.py +0 -0
- tests/test_circuit.py +261 -0
- tests/test_clean_data.py +43 -0
- tests/test_exp_data.py +328 -0
- tests/test_harmonic_balance.py +325 -0
- tests/test_if_reponse.py +44 -0
- tests/test_ivcurve-models.py +122 -0
- tests/test_kktrans.py +77 -0
- tests/test_mathfn.py +41 -0
- tests/test_network.py +426 -0
- tests/test_qtcurrent.py +992 -0
- tests/test_respfn.py +219 -0
- tests/test_small_signal.py +403 -0
- tests/test_supermix_reference.py +293 -0
qmix/__init__.py
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"""Quantum Mixing Software
|
|
2
|
+
|
|
3
|
+
QMix is used to simulate Superconductor/Insulator/Superconductor (SIS) mixers.
|
|
4
|
+
It uses multi-tone spectral domain analysis, which makes QMix ideal for
|
|
5
|
+
simulating higher-order harmonics, power saturation and wide IF bandwidth
|
|
6
|
+
devices.
|
|
7
|
+
|
|
8
|
+
"""
|
|
9
|
+
|
|
10
|
+
import qmix._omp # first: before Numba loads OpenMP
|
|
11
|
+
import qmix.exp
|
|
12
|
+
import qmix.mathfn
|
|
13
|
+
import qmix.exp
|
|
14
|
+
import qmix.misc
|
|
15
|
+
|
|
16
|
+
import qmix.circuit
|
|
17
|
+
import qmix.respfn
|
|
18
|
+
import qmix.qtcurrent
|
|
19
|
+
import qmix.harmonic_balance
|
|
20
|
+
import qmix.small_signal
|
|
21
|
+
import qmix.network
|
|
22
|
+
|
|
23
|
+
import qmix.exp.exp_data
|
|
24
|
+
import qmix.mathfn.kktrans
|
|
25
|
+
|
|
26
|
+
from qmix.misc.terminal import print_intro
|
|
27
|
+
|
|
28
|
+
# Suppress future warnings from SciPy
|
|
29
|
+
import warnings
|
|
30
|
+
warnings.simplefilter(action='ignore', category=FutureWarning)
|
|
31
|
+
|
|
32
|
+
__author__ = "John Garrett"
|
|
33
|
+
# __version__ = "1.1.0"
|
qmix/_omp.py
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"""Silence the OpenMP notice from Numba's threading layer.
|
|
2
|
+
|
|
3
|
+
Numba's OpenMP threading layer calls the deprecated ``omp_set_nested``, which
|
|
4
|
+
prints "OMP: Info #276" once per process. This turns off OpenMP's info
|
|
5
|
+
messages. It must run before the OpenMP runtime loads (i.e., before the first
|
|
6
|
+
parallel kernel), so it is imported first in ``qmix/__init__.py``. Setting
|
|
7
|
+
``KMP_WARNINGS`` in the environment overrides it.
|
|
8
|
+
|
|
9
|
+
"""
|
|
10
|
+
|
|
11
|
+
import os
|
|
12
|
+
|
|
13
|
+
os.environ.setdefault('KMP_WARNINGS', '0')
|