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 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')