Skip to content

Updates to support rogue 6 - #485

Open
tristpinsm wants to merge 17 commits into
masterfrom
tpm/rogue6
Open

Updates to support rogue 6#485
tristpinsm wants to merge 17 commits into
masterfrom
tpm/rogue6

Conversation

@tristpinsm

Copy link
Copy Markdown
Contributor

Tested on SLAC system

@tristpinsm

Copy link
Copy Markdown
Contributor Author

This should be ready for review and merge now

@tristpinsm
tristpinsm requested review from BrianJKoopman and dpdutcher and removed request for BrianJKoopman July 28, 2026 20:24
@tristpinsm
tristpinsm force-pushed the tpm/rogue6 branch 3 times, most recently from e754b3d to 04cfa27 Compare September 2, 2026 18:12
S.get_eta_phase_array returns radians, but the 'eta_phase' key of a
resonance dict is degrees. run_grad_descent_and_eta_scan wrote the
radians value into res['eta_phase'] with update_tune=True, so the
resulting tune file held radians under a degrees key and every phase
came back ~57x too small when reloaded. plot_channel_resonance made the
opposite mistake, converting the already-radians array with np.deg2rad
before rotating the response, so the circle plot was drawn at the wrong
angle.

In get_full_band_sweep, restore the eta magnitude before the phase. Eta
is stored in firmware as Cartesian etaI/etaQ and each setter recomputes
from the other's current value, so setting the phase while the magnitude
is zero writes (0, 0) and drops the phase.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant