Difference between revisions of "Measure quanta.py"
From MCEWiki
Line 17: | Line 17: | ||
30720, 30720, 30720, 30720, 30720, 30720, 30720, 30720 ]; | 30720, 30720, 30720, 30720, 30720, 30720, 30720, 30720 ]; | ||
− | [[Category: | + | [[Category:MCE Script]] |
+ | [[Category:Python]] |
Latest revision as of 17:36, 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 ];