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/RawWindowHook.ipf

    r412 r418  
    4242        SVAR cur_folder=root:myGlobals:gDataDisplayType 
    4343        SVAR cur_title = root:myGlobals:gCurTitle 
    44         String curPath = "root:"+cur_folder 
     44        String curPath = "root:Packages:NIST:"+cur_folder 
    4545        Wave/T tw=$(curPath+":TextRead") 
    4646        cur_title = tw[6]                       //always update the title string 
     
    208208        //get the current displayed data (so the correct folder is used) 
    209209        SVAR cur_folder=root:myGlobals:gDataDisplayType 
    210         SetDataFolder "root:"+cur_folder                //use the full path, so it will always work 
    211         String curPath = "root:" + cur_folder 
     210        SetDataFolder "root:Packages:NIST:"+cur_folder          //use the full path, so it will always work 
     211        String curPath = "root:Packages:NIST:" + cur_folder 
    212212        NVAR dataIsLog=$(curPath + ":gIsLogScale")              //now a global variable in the current folder, not the globals folder 
    213213        if (dataIsLog)  
     
    277277        Variable dx,dy,thetax,thetay,qval,qx,qy 
    278278         
    279 //      Wave realW=$"root:raw:realsRead" 
     279//      Wave realW=$"root:Packages:NIST:raw:realsRead" 
    280280//      Variable pixSizeX = realW[10]/10                //header is in mm, want cm 
    281281//      Variable pixSizeY = realW[13]/10                //header is in mm, want cm 
     
    307307        //wavelength is in Angstroms 
    308308         
    309 //      Wave realW=$"root:raw:realsRead" 
     309//      Wave realW=$"root:Packages:NIST:raw:realsRead" 
    310310//      Variable pixSize = realW[10]/10         //header is in mm, want cm 
    311311         
     
    332332        //wavelength is in Angstroms 
    333333         
    334 //      Wave realW=$"root:raw:realsRead" 
     334//      Wave realW=$"root:Packages:NIST:raw:realsRead" 
    335335//      Variable pixSize = realW[13]/10         //header is in mm, want cm 
    336336                 
Note: See TracChangeset for help on using the changeset viewer.