File indexing completed on 2026-04-09 07:48:46
0001
0002
0003 usage(){ cat << EOU
0004 ab.sh
0005 ======
0006
0007 ::
0008
0009 ab.sh 1 --nocompare
0010
0011 ab.sh 1
0012 ab.sh 2
0013
0014 PFX=tds3ip ab.sh 1
0015
0016
0017 EOU
0018 }
0019
0020
0021 cat="g4live"
0022 det="det"
0023 src="natural"
0024 pfx=${PFX:-source}
0025
0026 tag=${1:-1}
0027 shift
0028
0029 export OPTICKS_ANA_DEFAULTS="src=$src,cat=$cat,det=$det,tag=$tag,pfx=$pfx"
0030
0031
0032
0033
0034 dscript=ab.py
0035 script=${SCRIPT:-$dscript}
0036
0037 cd ~/opticks/ana
0038
0039 cmd="${IPYTHON:-ipython} -i --pdb $(which $script) -- $*"
0040 echo $cmd
0041 eval $cmd
0042
0043