Ignore:
Timestamp:
Oct 7, 2008 1:09:04 PM (14 years ago)
Author:
ajj
Message:

Moving data folders into root:Packages:NIST

This could be hairy.

File:
1 edited

Legend:

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

    r412 r418  
    7171         
    7272        //Check for logscale data in "type" folder 
    73         String dest = "root:"+type 
     73        String dest = "root:Packages:NIST:"+type 
    7474         
    7575        NVAR isLogScale = $(dest + ":gIsLogScale") 
     
    361361        //get the beam center from the currently displayed data type 
    362362        SVAR type = root:myGlobals:gDataDisplayType 
    363         Wave reals = $("root:"+type+":RealsRead") 
     363        Wave reals = $("root:Packages:NIST:"+type+":RealsRead") 
    364364        Variable x0,y0,x1,y1 
    365365        x0 = reals[16] - 1              //convert to [0,127] from (1,128) detector 
     
    10591059//      SetDataFolder curPath 
    10601060        //get the untarnished data, so we can rescale it freshly here 
    1061         Wave yw = $("root:"+curFolder+":aveint") 
    1062         Wave ew = $("root:"+curFolder+":sigave") 
     1061        Wave yw = $("root:Packages:NIST:"+curFolder+":aveint") 
     1062        Wave ew = $("root:Packages:NIST:"+curFolder+":sigave") 
    10631063        //get the correct x values 
    10641064        NVAR isPhiAve= root:myGlobals:Plot_1d:isPhiAve  //0 signifies (normal) x=qvals 
    10651065        if(isPhiAve) 
    10661066                //x is angle 
    1067                 Wave xw=$("root:"+curFolder+":phival") 
     1067                Wave xw=$("root:Packages:NIST:"+curFolder+":phival") 
    10681068        else 
    10691069                //x is q-values 
    1070                 Wave xw=$("root:"+curFolder+":qval") 
     1070                Wave xw=$("root:Packages:NIST:"+curFolder+":qval") 
    10711071        endif 
    10721072        Wave yAxisWave=root:myGlobals:Plot_1d:yAxisWave         //refs to waves to be modified, hard-wired positions 
Note: See TracChangeset for help on using the changeset viewer.