half-sample 0.1.14__tar.gz → 0.1.15__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.
Potentially problematic release.
This version of half-sample might be problematic. Click here for more details.
- {half-sample-0.1.14 → half-sample-0.1.15}/PKG-INFO +1 -1
- half-sample-0.1.15/cpp_build/sample.exe +0 -0
- {half-sample-0.1.14 → half-sample-0.1.15}/half_sample.egg-info/PKG-INFO +1 -1
- {half-sample-0.1.14 → half-sample-0.1.15}/sample/sample.py +10 -2
- {half-sample-0.1.14 → half-sample-0.1.15}/setup.py +1 -1
- half-sample-0.1.14/cpp_build/sample.exe +0 -0
- {half-sample-0.1.14 → half-sample-0.1.15}/README.md +0 -0
- {half-sample-0.1.14 → half-sample-0.1.15}/half_sample.egg-info/SOURCES.txt +0 -0
- {half-sample-0.1.14 → half-sample-0.1.15}/half_sample.egg-info/dependency_links.txt +0 -0
- {half-sample-0.1.14 → half-sample-0.1.15}/half_sample.egg-info/top_level.txt +0 -0
- {half-sample-0.1.14 → half-sample-0.1.15}/sample/__init__.py +0 -0
- {half-sample-0.1.14 → half-sample-0.1.15}/sample/process.py +0 -0
- {half-sample-0.1.14 → half-sample-0.1.15}/sample/result.py +0 -0
- {half-sample-0.1.14 → half-sample-0.1.15}/setup.cfg +0 -0
|
Binary file
|
|
@@ -60,8 +60,16 @@ class Sampler:
|
|
|
60
60
|
def is_measuring(self) -> bool:
|
|
61
61
|
return self.communicate('is_measuring').measuring
|
|
62
62
|
|
|
63
|
-
def measure(self, number_of_waveforms: int, emitting_frequency: float, auto_mode: bool = False) ->
|
|
64
|
-
self.communicate("to_measure {} {:.2f} {}".format(number_of_waveforms, emitting_frequency, auto_mode))
|
|
63
|
+
def measure(self, number_of_waveforms: int, emitting_frequency: float, auto_mode: bool = False) -> Result:
|
|
64
|
+
return self.communicate("to_measure {} {:.2f} {}".format(number_of_waveforms, emitting_frequency, auto_mode))
|
|
65
|
+
|
|
66
|
+
def dump(self, filename: str, number_of_waveforms: int, emitting_frequency: float,
|
|
67
|
+
auto_mode: bool = False) -> Result:
|
|
68
|
+
return self.communicate(
|
|
69
|
+
"to_dump {} {} {:.2f} {}".format(filename, number_of_waveforms, emitting_frequency, auto_mode))
|
|
70
|
+
|
|
71
|
+
def process(self, filename: str) -> Result:
|
|
72
|
+
return self.communicate("to_process {}".format(filename))
|
|
65
73
|
|
|
66
74
|
def set_sampler(self, sampler_name: str) -> Result:
|
|
67
75
|
return self.communicate("set_sampler {}".format(sampler_name))
|
|
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
|