Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-04-09 07:49:07

0001 #!/bin/bash -l
0002 
0003 usage(){ cat << EOU
0004 rng_sequence.sh 
0005 ==================
0006 
0007 Usage::
0008 
0009     cd ~/opticks/qudarap/tests 
0010 
0011    ./rng_sequence.sh run      # generates and persists precooked random .npy arrays
0012 
0013    ./rng_sequence.sh ana      # load the random .npy arrays 
0014 
0015 
0016 HMM: QSimTest is too complicated, better to split off this 
0017 functionality into a separate executable 
0018 
0019 
0020 EOU
0021 }
0022 
0023 cd $(dirname $(realpath $BASH_SOURCE))
0024 
0025 arg=${1:-ana}
0026 
0027 ## defining the below envvar changes the output directory to be within ~/.opticks/precooked
0028 export QSimTest__rng_sequence_PRECOOKED=1    
0029 
0030 TEST=rng_sequence ./QSimTest.sh $arg
0031 
0032