Ignore:
Timestamp:
Apr 9, 2007 3:42:39 PM (15 years ago)
Author:
srkline
Message:

2nd pass of pulling out NCNR calls. Also cleared a lot of deadwood from the code, removing depricated functions that were mostly already commented out.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/SANSReduction/branches/kline_29MAR07/Put in User Procedures/SANS_Reduction_v5.00/RawWindowHook.ipf

    r41 r76  
    3434        String/G root:myGlobals:gCurDispFile = "default string" 
    3535        String/G root:myGlobals:gCurTitle = "" 
    36 //      Variable/G root:myGlobals:gMapLow=0. 
    37 //      Variable/G root:myGlobals:gMapHigh=1 
    3836        Make/O/N=2 root:myGlobals:q_x_axis,root:myGlobals:q_y_axis 
    3937         
     
    9492                Button Print_status,pos={170,23},size={50,20},proc=StatusButton,title="Status" 
    9593                Button Print_status,help={"Print out information about the currently displayed file into the history window"} 
    96 //              SetVariable lowThresh,pos={170,55},size={110,17},proc=LowThreshSetVarProc,title="Map low" 
    97 //              SetVariable lowThresh,limits={0,1,0.01},value= root:myGlobals:gMapLow 
    98 //              SetVariable lowThresh,help={"Low limit of threshold as a fraction of maximum data value"} 
    99 //              SetVariable highThresh,pos={285,55},size={120,17},proc=HighThreshSetVarProc,title="Map high" 
    100 //              SetVariable highThresh,limits={0,1,0.01},value= root:myGlobals:gMapHigh 
    101 //              SetVariable highThresh,help={"High limit of threshold as a fraction of maximum data value"} 
    10294                Button maskButton size={84,20}, pos={170,53}, proc=maskButtonProc,title="Show Mask" 
    10395                Button maskButton help={"If a mask has been loaded this will overlay it on the current plot"} 
     
    235227                xaxval= AxisValFromPixel("","bottom",xpix) 
    236228                yaxval= AxisValFromPixel("","left",ypix) 
    237                 //xint = trunc(xaxval) 
    238                 //yint = trunc(yaxval) 
    239229                xint = round(xaxval) 
    240230                yint = round(yaxval) 
     
    352342// - needs the location of the currently displayed data to get the header information 
    353343// to be able to calculate q-values at the edges of the detector 
    354 //** assumes a linear correcpondence between pixel->q-values (which should bea a really 
     344//** assumes a linear correspondence between pixel->q-values (which should bea a really 
    355345// safe bet, since we're using the small -angle approximation...) 
    356346// 
Note: See TracChangeset for help on using the changeset viewer.