BunchTuneAnalysis creates a bunch attribute called ParticlePhaseAttributes. ParticlePhaseAttributes is a std::map with keys "xLastPhase", "yLastPhase", "xLastTune", "yLastTune", "xAction", "yAction". The attribute array has columns in that order.
When the attributes are printed, the data remain in that order, but the label order is incorrect. The printed order is
% PARTICLE_ATTRIBUTES_CONTROLLER_DICT ParticlePhaseAttributes size 6 xAction 0 xLastPhase 0 xLastTune 0 yAction 0 yLastPhase 0 yLastTune 0
Looks like it is sorted alphabetically.
Here is a test script: https://github.com/austin-hoover/pyorbit/blob/tune/examples/Diagnostics/Tunes/test_tune.py. The tunes in this example are 0.3.
BunchTuneAnalysis creates a bunch attribute called
ParticlePhaseAttributes.ParticlePhaseAttributesis astd::mapwith keys "xLastPhase", "yLastPhase", "xLastTune", "yLastTune", "xAction", "yAction". The attribute array has columns in that order.When the attributes are printed, the data remain in that order, but the label order is incorrect. The printed order is
Looks like it is sorted alphabetically.
Here is a test script: https://github.com/austin-hoover/pyorbit/blob/tune/examples/Diagnostics/Tunes/test_tune.py. The tunes in this example are 0.3.