Ignore:
Timestamp:
Nov 3, 2009 1:08:00 PM (13 years ago)
Author:
srkline
Message:

Updated the SingleModelTemplate? to be compatible with the new release

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS/MultScatter_MonteCarlo_2D.ipf

    r588 r589  
    720720        xPixel = round(xCtr + dx/pixSize) 
    721721 
     722        NVAR pixelsX = root:myGlobals:gNPixelsX 
     723        NVAR pixelsY = root:myGlobals:gNPixelsY 
     724         
    722725        //if on detector, return xPix and yPix values, otherwise -1 
    723         if(yPixel > 127 || yPixel < 0) 
     726        if(yPixel > pixelsY || yPixel < 0) 
    724727                yPixel = -1 
    725728        endif 
    726         if(xPixel > 127 || xPixel < 0) 
     729        if(xPixel > pixelsX || xPixel < 0) 
    727730                xPixel = -1 
    728731        endif 
Note: See TracChangeset for help on using the changeset viewer.