File indexing completed on 2026-04-09 07:49:01
0001
0002
0003 usage(){ cat << EOU
0004 cxs_debug.sh : simtrace running for sliced geometry
0005 =====================================================
0006
0007 See notes/issues/cxsim-shakedown.rst
0008
0009 ::
0010
0011 cx
0012 ./cxs_debug.sh run
0013 ./cxs_debug.sh grab
0014 ./cxs_debug.sh ana
0015
0016 ./cxs_debug.sh pvcap
0017
0018 ./cxs_debug.sh
0019
0020 PUB=repeated_step_point ./cxs_debug.sh pvpub
0021
0022 ./cxs_debug.sh mpcap
0023
0024
0025 PUB=yellow_epsilon_looks_appropriate ./cxs_debug.sh mppub
0026
0027
0028
0029
0030 ::
0031
0032 from opticks.ana.nbase import np_string
0033 np_string(x_lpos[-3:,:3].ravel())
0034 Out[5]: '207.807,-50.949,113.643,206.,-44.666,105.551,185.963,124.008,-90.678'
0035
0036
0037 EOU
0038 }
0039
0040
0041 moi=37684
0042
0043
0044
0045
0046
0047 ce_offset=207.807,-50.949,113.643,206.,-44.666,105.551,185.963,124.008,-90.678
0048
0049 ce_scale=1
0050 cegs=16:0:9:500
0051
0052 gridscale=0.1
0053
0054
0055
0056
0057 export ZOOM=${ZOOM:-2}
0058 export LOOK=209.774,-64.59664,129.752
0059 export LOOKCE=${LOOKCE:-1,0.1,0.01,0.001}
0060
0061 export NOPVGRID=1
0062
0063
0064 export CAP_REL=cxs_debug
0065 export CAP_STEM=cxs_debug_moi${moi}
0066
0067
0068
0069 source ./cxs.sh $*
0070