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

    r412 r418  
    5050        //type is the data type to do the averaging on, and will be set as the current folder 
    5151        //get the current displayed data (so the correct folder is used) 
    52         String destPath = "root:"+type 
     52        String destPath = "root:Packages:NIST:"+type 
    5353        // 
    5454        Variable xcenter,ycenter,x0,y0,sx,sx3,sy,sy3,dtsize,dtdist,dr,ddr 
     
    106106        //Check for the existence of the mask, if not, make one (local to this folder) that is null 
    107107         
    108         if(WaveExists($"root:MSK:data") == 0) 
     108        if(WaveExists($"root:Packages:NIST:MSK:data") == 0) 
    109109                Print "There is no mask file loaded (WaveExists)- the data is not masked" 
    110110                Make/O/N=(pixelsX,pixelsY) $(destPath + ":mask") 
     
    112112                mask = 0 
    113113        else 
    114                 Wave mask=$"root:MSK:data" 
     114                Wave mask=$"root:Packages:NIST:MSK:data" 
    115115        Endif 
    116116         
     
    459459        //type is the data type to do the averaging on, and will be set as the current folder 
    460460        //get the current displayed data (so the correct folder is used) 
    461         String destPath = "root:"+type 
     461        String destPath = "root:Packages:NIST:"+type 
    462462         
    463463        Variable xcenter,ycenter,x0,y0,sx,sx3,sy,sy3,dtsize,dtdist 
     
    504504        //Check for the existence of the mask, if not, make one (local to this folder) that is null 
    505505         
    506         if(WaveExists($"root:MSK:data") == 0) 
     506        if(WaveExists($"root:Packages:NIST:MSK:data") == 0) 
    507507                Print "There is no mask file loaded (WaveExists)- the data is not masked" 
    508508                Make/O/N=(pixelsX,pixelsY) $(destPath + ":mask") 
     
    510510                mask = 0 
    511511        else 
    512                 Wave mask=$"root:MSK:data" 
     512                Wave mask=$"root:Packages:NIST:MSK:data" 
    513513        Endif 
    514514         
Note: See TracChangeset for help on using the changeset viewer.