lamp_mac/BRISP/
brisp_center_old.pro
top brisp_center_old
result = brisp_center_old(M, XYbeam_stop=XYbeam_stop, Rbeam_stop=Rbeam_stop, excluded=excluded, Stubes=Stubes, MASK=MASK, noCenter=noCenter, Center=Center)
******* ************ ** ** INPUT: M is a 2D or 3D count from an attenuated direct beam. ** XYbs should be the beam-stop size [X,Y] in pixel unit seen during experiment. ** Rbs should be the beam-stop rays [X,Y] in pixel unit seen during experiment. ** Regions is a (4,n) matrix uses to exclude regions [[x1,y1,nx1,ny1],[x2,y2,nx2,ny2]...] ** /stubes if set then mask short tubes also (BRISP ONLY) ** /nocenter if set then do not fit center, assume ([s1,s2])/2. ** center=[cx,cy] if set then do not fit center ** ** OUTPUT: cxy=[Xcenter,Ycenter] in pixel position (from 0.) ** Masq is the 2D mask for M (returned only if XYbs or Rbs and/or Regions are present.
Parameters
- M
Keywords
- XYbeam_stop
- Rbeam_stop
- excluded
- Stubes
- MASK
- noCenter
- Center
File attributes
Modification date: | Tue Oct 1 14:45:32 2013 |
Lines: | 72 |