Ignore:
Timestamp:
Mar 28, 2017 2:47:11 PM (6 years ago)
Author:
srkline
Message:

changes for combining of 1D data sets

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Reduction/VSANS/VC_DetectorBinning_Q.ipf

    r1030 r1031  
    2626// 
    2727/////////////////// 
     28 
     29Strconstant ksBinTypeList = "B;FT;FB;FL;FR;MT;MB;ML;MR;FTB;FLR;MTB;MLR;FLRTB;MLRTB;" 
     30 
    2831 
    2932 
     
    13211324// and if it is, it will be removed 
    13221325// 
    1323 Function ClearAllIQIfDisplayed(type,winNameStr) 
     1326Function ClearIQIfDisplayed_AllFldr(type,winNameStr) 
    13241327        String type,winNameStr 
    13251328 
     
    13371340        return(0) 
    13381341end 
     1342 
     1343// for a given data folder, all detector binning types 
     1344// ("B", "FLTB", "MTB" etc) will be checked to see if the data is on the graph 
     1345// and if it is, it will be removed 
     1346// 
     1347Function ClearIQIfDisplayed_AllBin(fldr,winNameStr) 
     1348        String fldr,winNameStr 
     1349 
     1350//      String folderList = ksWorkFolderListShort 
     1351        String type 
     1352        Variable ii 
     1353         
     1354        for(ii=0;ii<ItemsInList(ksBinTypeList);ii+=1) 
     1355                type = StringFromList(ii, ksBinTypeList, ";") 
     1356                ClearIQIfDisplayed(fldr,type,winNameStr) 
     1357        endfor 
     1358        // just in case 
     1359        SetDataFolder root: 
     1360         
     1361        return(0) 
     1362end 
     1363 
     1364 
    13391365 
    13401366Function ClearIQIfDisplayed(fldr,type,winNameStr) 
Note: See TracChangeset for help on using the changeset viewer.