half-sample 0.1.26__tar.gz → 0.1.27__tar.gz
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.
- {half_sample-0.1.26 → half_sample-0.1.27}/PKG-INFO +1 -1
- half_sample-0.1.27/cpp_build/sample.exe +0 -0
- {half_sample-0.1.26 → half_sample-0.1.27}/half_sample.egg-info/PKG-INFO +1 -1
- {half_sample-0.1.26 → half_sample-0.1.27}/sample/result.py +5 -0
- {half_sample-0.1.26 → half_sample-0.1.27}/sample/sample.py +2 -1
- {half_sample-0.1.26 → half_sample-0.1.27}/setup.py +1 -1
- half_sample-0.1.26/cpp_build/sample.exe +0 -0
- {half_sample-0.1.26 → half_sample-0.1.27}/README.md +0 -0
- {half_sample-0.1.26 → half_sample-0.1.27}/half_sample.egg-info/SOURCES.txt +0 -0
- {half_sample-0.1.26 → half_sample-0.1.27}/half_sample.egg-info/dependency_links.txt +0 -0
- {half_sample-0.1.26 → half_sample-0.1.27}/half_sample.egg-info/top_level.txt +0 -0
- {half_sample-0.1.26 → half_sample-0.1.27}/sample/__init__.py +0 -0
- {half_sample-0.1.26 → half_sample-0.1.27}/sample/process.py +0 -0
- {half_sample-0.1.26 → half_sample-0.1.27}/sample/protocol.py +0 -0
- {half_sample-0.1.26 → half_sample-0.1.27}/setup.cfg +0 -0
|
Binary file
|
|
@@ -122,6 +122,11 @@ class Result:
|
|
|
122
122
|
self._v_inf_reported = False
|
|
123
123
|
self.cycle_maximum = 0.0
|
|
124
124
|
self.cycle_minimum = 0.0
|
|
125
|
+
self.cycle_vmax = 0.0
|
|
126
|
+
self.cycle_vmin = 0.0
|
|
127
|
+
self.cycle_vpp = 0.0
|
|
128
|
+
self.cycle_vtop = 0.0
|
|
129
|
+
self.cycle_vbase = 0.0
|
|
125
130
|
|
|
126
131
|
self.mock_tau = 0.0
|
|
127
132
|
self.mock_v0 = 0.0
|
|
@@ -205,7 +205,8 @@ class Sampler:
|
|
|
205
205
|
@staticmethod
|
|
206
206
|
def _first_non_finite_field(result: Result):
|
|
207
207
|
for field in ("maximum", "minimum", "sampling_interval", "wave_interval", "tau", "w", "b", "loss",
|
|
208
|
-
"v_inf", "cycle_maximum", "cycle_minimum"
|
|
208
|
+
"v_inf", "cycle_maximum", "cycle_minimum", "cycle_vmax", "cycle_vmin", "cycle_vpp",
|
|
209
|
+
"cycle_vtop", "cycle_vbase"):
|
|
209
210
|
if not math.isfinite(getattr(result, field)):
|
|
210
211
|
return field
|
|
211
212
|
for index, value in enumerate(result.wave):
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|