cutPrescanRegion FR:FC FR:LC LR:FC LR:LC [:,LCP:] [LRP

advertisement
cutPrescanRegion
FR:FC
FR:LC
There are four different possible positions for the prescan area on the CCD. The instrument config
file contains the whole CCD dimensions and the prescan area positions within the CCD. We have to
determine the size of the slice to cut to hold only the image. We have to deduct the position of the
prescan area from the coordinates.
FRP = LR
LRP = LR
FCP = FC
LCP ≠ LC
LR:FC
FRP = LR
LRP ≠ LR
FCP = FC
LCP = LC
FRP = LR
LRP = LR
FCP ≠ FC
LCP = LC
FRP ≠ LR
LRP = LR
FCP = FC
LCP = LC
LR:LC
Python indexing of arrays
FR : First Row
FC : First Column
LR : Last Row
LC : Last Column
[:,LCP:]
[LRP:,:]
[:,:FCP]
[:FRP,:]
Download