-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #69 from slaclab/beamtime_testing_script
TST: Add bash script to run beamtime scripts and remove un-used test files/data
- Loading branch information
Showing
40 changed files
with
26 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,17 @@ | ||
#!/bin/bash | ||
# Setup environment variables | ||
|
||
echo "executing the following commands..." | ||
|
||
# Get the current directory | ||
current_dir=$(pwd) | ||
# so scripts can find the calibrationSuite library code | ||
export PYTHONPATH="$PYTHONPATH:$current_dir" | ||
echo "export PYTHONPATH="\$PYTHONPATH:$current_dir"" | ||
|
||
# so output folders are written in a shared location | ||
#export OUTPUT_ROOT="/sdf/data/lcls/ds/rix/rixx1003721/results/scripts/" | ||
export OUTPUT_ROOT="/sdf/data/lcls/ds/rix/rixx1005922/scratch/" | ||
echo "export OUTPUT_ROOT="\"$OUTPUT_ROOT\" | ||
|
||
# point to which config file to use | ||
#export SUITE_CONFIG="rixSuiteConfig.py" | ||
export SUITE_CONFIG="epixMSuiteConfig.py" | ||
echo "export SUITE_CONFIG="\"$SUITE_CONFIG\" | ||
echo "export SUITE_CONFIG="\"$SUITE_CONFIG\" |
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-18.6 KB
...ed/testData/expected/analyzeH5Expected/AnalyzeH5_r666_c0_r1_c14_testLabel_E.png
Binary file not shown.
Binary file removed
BIN
-1.06 KB
...sabled/testData/expected/analyzeH5Expected/AnalyzeH5_r666_c0_r1_c14_testLabel_fitInfo.npy
Binary file not shown.
Binary file removed
BIN
-13.8 KB
.../disabled/testData/expected/analyzeH5Expected/AnalyzeH5_r666_c0_testLabel_E.png
Binary file not shown.
Binary file removed
BIN
-14.5 KB
...ata/expected/analyzeH5Expected/AnalyzeH5_r666_c0_testLabel_gainDistribution.png
Binary file not shown.
Binary file removed
BIN
-70 KB
...disabled/testData/expected/eventScanParallelSliceExpected/EventScanParallel_c0_r349_n1.h5
Binary file not shown.
Binary file removed
BIN
-18.4 KB
...ed/eventScanParallelSliceExpected/EventScanParallel_r349_c0_timestamps_All1.png
Binary file not shown.
Binary file removed
BIN
-13.7 KB
...ed/eventScanParallelSliceExpected/EventScanParallel_r349_c0_timestamps_ROI0.png
Binary file not shown.
Binary file removed
BIN
-13.7 KB
...ed/eventScanParallelSliceExpected/EventScanParallel_r349_c0_timestamps_ROI1.png
Binary file not shown.
Binary file removed
BIN
-13.4 KB
.../eventScanParallelSliceExpected/EventScanParallel_r349_c0_timestamps_pixel0.png
Binary file not shown.
Binary file removed
BIN
-13.8 KB
...tScanParallelSliceExpected/EventScanParallel_r349_c0_timestamps_pixel0_hist.png
Binary file not shown.
Binary file removed
BIN
-14.1 KB
.../eventScanParallelSliceExpected/EventScanParallel_r349_c0_timestamps_pixel1.png
Binary file not shown.
Binary file removed
BIN
-15.1 KB
...tScanParallelSliceExpected/EventScanParallel_r349_c0_timestamps_pixel1_hist.png
Binary file not shown.
Binary file removed
BIN
-14.1 KB
.../eventScanParallelSliceExpected/EventScanParallel_r349_c0_timestamps_pixel2.png
Binary file not shown.
Binary file removed
BIN
-16.5 KB
...tScanParallelSliceExpected/EventScanParallel_r349_c0_timestamps_pixel2_hist.png
Binary file not shown.
Binary file removed
BIN
-13.3 KB
.../eventScanParallelSliceExpected/EventScanParallel_r349_c0_timestamps_pixel3.png
Binary file not shown.
Binary file removed
BIN
-16.6 KB
...tScanParallelSliceExpected/EventScanParallel_r349_c0_timestamps_pixel3_hist.png
Binary file not shown.
Binary file removed
BIN
-15.9 KB
.../eventScanParallelSliceExpected/EventScanParallel_r349_c0_timestamps_pixel4.png
Binary file not shown.
Binary file removed
BIN
-16.7 KB
...tScanParallelSliceExpected/EventScanParallel_r349_c0_timestamps_pixel4_hist.png
Binary file not shown.
Binary file removed
BIN
-13.5 KB
.../eventScanParallelSliceExpected/EventScanParallel_r349_c0_timestamps_pixel5.png
Binary file not shown.
Binary file removed
BIN
-16.7 KB
...tScanParallelSliceExpected/EventScanParallel_r349_c0_timestamps_pixel5_hist.png
Binary file not shown.
Binary file removed
BIN
-16.2 KB
.../eventScanParallelSliceExpected/EventScanParallel_r349_c0_timestamps_pixel6.png
Binary file not shown.
Binary file removed
BIN
-14.5 KB
...tScanParallelSliceExpected/EventScanParallel_r349_c0_timestamps_pixel6_hist.png
Binary file not shown.
Binary file removed
BIN
-13.5 KB
.../eventScanParallelSliceExpected/EventScanParallel_r349_c0_timestamps_pixel7.png
Binary file not shown.
Binary file removed
BIN
-14.1 KB
...tScanParallelSliceExpected/EventScanParallel_r349_c0_timestamps_pixel7_hist.png
Binary file not shown.
Binary file removed
BIN
-16.9 KB
.../eventScanParallelSliceExpected/EventScanParallel_r349_c0_timestamps_pixel8.png
Binary file not shown.
Binary file removed
BIN
-17.3 KB
...tScanParallelSliceExpected/EventScanParallel_r349_c0_timestamps_pixel8_hist.png
Binary file not shown.
Binary file removed
BIN
-15.2 KB
.../eventScanParallelSliceExpected/EventScanParallel_r349_c0_timestamps_pixel9.png
Binary file not shown.
Binary file removed
BIN
-14.2 KB
...tScanParallelSliceExpected/EventScanParallel_r349_c0_timestamps_pixel9_hist.png
Diff not rendered.
Binary file removed
BIN
-54.1 KB
...isabled/testData/expected/eventScanParallelSliceExpected/bitSlice_c0_r349_rixx1003721.npy
Binary file not shown.
Binary file removed
BIN
-208 Bytes
...led/testData/expected/eventScanParallelSliceExpected/eventNumbers_c0_r349_rixx1003721.npy
Binary file not shown.
Binary file removed
BIN
-288 Bytes
...s/disabled/testData/expected/eventScanParallelSliceExpected/means_c0_r349_rixx1003721.npy
Binary file not shown.
Binary file removed
BIN
-208 Bytes
...isabled/testData/expected/eventScanParallelSliceExpected/pulseIds_c0_r349_rixx1003721.npy
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-76.3 MB
tests/disabled/testData/lowFlux/SimpleClusters_c0_r334_n100_part0.h5
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/bash | ||
|
||
# print cmds executed | ||
set -x | ||
|
||
cd .. | ||
source setup.sh | ||
cd suite_scripts | ||
export OUTPUT_ROOT= | ||
|
||
# create directories if they don't exist | ||
mkdir -p test_1 | ||
mkdir -p test_2 | ||
mkdir -p test_3 | ||
|
||
# replace the following with commands for upcoming beamtime | ||
python CalcNoiseAndMean.py -r 583 -p ../test_1 | ||
python LinearityPlotsParallelSlice.py -r 591 -p ../test_2 | ||
python LinearityPlotsParallelSlice.py -r 591 -f ../test_2/LinearityPlotsParallel__c0_r591_n1.h5 --label fooBar -p ../test_2 | ||
python analyze_npy.py ../test_2/LinearityPlotsParallel_r591_sliceFits_fooBar_raw.npy | ||
python TimeScanParallelSlice.py -r 498 -t 100 -p ../test_3 | ||
python TimeScanParallelSlice.py -r 498 --threshold 0 -p ../test_3 | ||
python MapCompEnOn.py -f ../test_3/TimeScanParallel__c0_r498_n1.h5 |