This page describes how to manually change the reference positions which the auto-aligner aligns to. This should only be done in cases where the sector 20 laser has been realigned to new references by hand beforehand and you have verified with all relevant interested S20 laser users (e.g. Brendan, Robert, Alex etc.) that these are indeed going to be the agreed-upon references going forward.


The auto-aligner references are stored in the S20 Laser config file located on the control system at $TOOLS/pydm/display/user-facet/config/S20LaserConfig.toml.


Steps

  1. First, if you haven't already done so, check out a local copy of the pydm displays directory in your home folder (in my case /home/fphysics/rariniel/pydm/user-facet). See Git at FACET for details.
  2. In your local directory do a git pull to confirm you have the most up to date version of the config file checked out.
  3. Determine the new reference positions on each of the cameras you are planning to change them for. Use stats in the profile monitor, make sure Method is set to 1 to match the algorithm used by the auto-aligner.
    1. Alternatively, use the pointing jitter GUI to average over many shots. The center finding algorithm is slightly different so this isn't always a good option.
  4. Edit the config file located at in your git repository at config/config/S20LaserConfig.toml.
    1. Find the section for the camera that needs to be be updated and change the value of "target" to the new coordinates.
  5. Save the file.
  6. Now save the changes to the git repo and pull them into production. The aligner cannot be tested in development, it must be tested in production.
git add config/config/S20LaserConfig.toml
git commit -m "Changed the target positions for the S20 laser auto aligner"
git push 

cd $TOOLS/pydm/display/user-facet/
git pull
  • No labels