Difference between revisions of "Measure quanta.py"
From MCEWiki
(Created page with '= 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…') |
(→Example) |
||
Line 10: | Line 10: | ||
Pass the location of the tuning data, and indicate what stage you are interested in: | 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 | + | python $MAS_PYTHON/measure_quanta.py /data/cryo/current_data/1321314269/ sa_ramp |
Output: | Output: | ||
Keeping 100 of 100 points | Keeping 100 of 100 points |
Revision as of 12:39, 18 January 2012
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 ];