MCPcopy Create free account
hub / github.com/LabPy/lantz / _scan_amplitude

Method _scan_amplitude

examples/backend_frontend/myapps.py:139–143  ·  view source on GitHub ↗

Because scan_amplitude is a generator, this helper functions is used to iterate over all the items.

(self, amplitudes)

Source from the content-addressed store, hash-verified

137 self.shutter.opened = False
138
139 def _scan_amplitude(self, amplitudes):
140 """Because scan_amplitude is a generator, this helper functions is used
141 to iterate over all the items.
142 """
143 return list(self.scan_amplitude(amplitudes))
144
145 def default_scan(self):
146 """A linear scan from 1 to 19 Volts.

Callers

nothing calls this directly

Calls 1

scan_amplitudeMethod · 0.95

Tested by

no test coverage detected