- Timestamp:
- Nov 3, 2009 1:08:00 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS/MultScatter_MonteCarlo_2D.ipf
r588 r589 720 720 xPixel = round(xCtr + dx/pixSize) 721 721 722 NVAR pixelsX = root:myGlobals:gNPixelsX 723 NVAR pixelsY = root:myGlobals:gNPixelsY 724 722 725 //if on detector, return xPix and yPix values, otherwise -1 723 if(yPixel > 127|| yPixel < 0)726 if(yPixel > pixelsY || yPixel < 0) 724 727 yPixel = -1 725 728 endif 726 if(xPixel > 127|| xPixel < 0)729 if(xPixel > pixelsX || xPixel < 0) 727 730 xPixel = -1 728 731 endif
Note: See TracChangeset
for help on using the changeset viewer.