Difference between revisions of "Beam Modulation"

From PREX Wiki
Jump to navigationJump to search
Line 32: Line 32:
  
 
== Beam Mod Corrections ==
 
== Beam Mod Corrections ==
 +
* Dithering slopes extraction
  
 
== Getting Started ==
 
== Getting Started ==

Revision as of 21:27, 24 August 2019

In the process of editing and updating this page. Please contact Juliette Mammei crowder@jlab.org with questions or suggestions.

PREX Main << Expert Tools

How to Run Beam Modulation

  • First, make sure Coda is running
  • You need to be logged in apar account on adqa3:
    •  ssh apar@adaq3 
  • Go to directory:
    •  cd /adaqfs/home/apar/vowen/BMWClient/PyGreenMonster/ 
  • Run beam modulation code:
    •  python3 ProductionModulation_Pause10Min.py 
    1. Beam modulation will automatically run for 7 days
    2. In order to quit beam modulation
      •  control+c 
        to crash out of the beam modulation program.
      •  python3 gm_bmw_clearall.py 
        to clean up the DAQ records and release the EPICS FFB pause states.

Modulation online plots

modulation coil plot Task for the analysis shift expert:

For each run, 
  • Check the online plot ( the top plot on the BMW plot page), we should see all 7 coils (colorful bars) at least for one super cycle (one bunch). If not, check the beam trips, if this run has a lot of beam trips, then check the other more stable runs. If you still miss one or more coils, then please call Ye: 803-553-3570.
  • Check the online plot ( on the BMW Cycle page ).

Beam Mod Corrections

  • Dithering slopes extraction

Getting Started

First, you will need to find the slopes that you will use to perform the correction.

  1. Login to the apar account on aonl2: ssh apar@aonl2
  2. cd ~/PREX/prompt/beam-mod/scripts
  3. If you haven't done a "gojapan" yet then source setup_japan.tcsh
  4. Choose a list of runs that you would like to analyze and put them in a file called "filename.list"
    • To analyze a slug, choose the corresponding list in ~/PREX/prompt/collector/run_list/
  5. Next, run ./dit_runlist.sh filename.list