Difference between revisions of "Measure quanta.py"
From MCEWiki
(→Example) |
|||
Line 16: | Line 16: | ||
sa_flux_quanta = [ | sa_flux_quanta = [ | ||
30720, 30720, 30720, 30720, 30720, 30720, 30720, 30720 ]; | 30720, 30720, 30720, 30720, 30720, 30720, 30720, 30720 ]; | ||
+ | |||
+ | [[Category:Software]] |
Revision as of 15:59, 30 August 2016
Overview
The program measure_quanta.py can be used to measure the flux quanta (phi0) of squids in a given stage. The flux quanta can then be put into experiment.cfg for use by the servo programs.
The program consumes tuning data. The program lives in the $MAS_PYTHON folder.
Invoke with "-h" to get a help message.
Example
Pass the location of the tuning data, and indicate what stage you are interested in:
python $MAS_PYTHON/measure_quanta.py /data/cryo/current_data/1321314269/ sa_ramp
Output:
Keeping 100 of 100 points Traveling segment of length 34 sa_flux_quanta = [ 30720, 30720, 30720, 30720, 30720, 30720, 30720, 30720 ];