-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRunPlotGeneralTraj_Method1.sh
More file actions
executable file
·19 lines (18 loc) · 1.3 KB
/
RunPlotGeneralTraj_Method1.sh
File metadata and controls
executable file
·19 lines (18 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash
echo "Hello World"
configFileName=ConfigFiles/DefaultConfig_strippersNotClosed.txt
directoryOutputSuffix=Plots
inputDirectoryPrefix=Method1_strippersNotClosed
#magneticFieldFiles=(UpUp DownDown UpDown DownUp LeftLeft LeftRight RightLeft RightRight)
#magneticFieldFiles=(LeftLeft LeftRight RightLeft RightRight)
magneticFieldFiles=(LeftUp RightUp)
suffixInjection=InjectBeam_Method1
suffixWaste=WasteBeam_Method1
suffixClosed=ClosedBeam_Method1_strippersNotClosed
offsetStripper=1
offsetFoil=1
for j in ${magneticFieldFiles[@]}
do
python plot_GeneralTrajectories.py --directoryOutput "$inputDirectoryPrefix/$directoryOutputSuffix"_"$j" --configFileName "$configFileName" --directoryWaste "$inputDirectoryPrefix/$suffixWaste"_"$j" --directoryInjection "$inputDirectoryPrefix/$suffixInjection"_"$j" --directoryClosed "$inputDirectoryPrefix/$suffixClosed"_"$j" --offsetStripper "$offsetStripper" --offsetFoil "$offsetFoil"
python plot_GeneralTrajectories.py --doY 1 --directoryOutput "$inputDirectoryPrefix/$directoryOutputSuffix"_"$j" --configFileName "$configFileName" --directoryWaste "$inputDirectoryPrefix/$suffixWaste"_"$j" --directoryInjection "$inputDirectoryPrefix/$suffixInjection"_"$j" --directoryClosed "$inputDirectoryPrefix/$suffixClosed"_"$j" --offsetStripper "$offsetStripper" --offsetFoil "$offsetFoil"
done