Ignore:
Timestamp:
Mar 24, 2017 2:13:01 PM (6 years ago)
Author:
srkline
Message:

First pass at routines to interactively combine and mask VSANS 1-D data sets. Based on masking as done in the USANS Desmearing panel.

File:
1 edited

Legend:

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

    r1022 r1030  
    13211321// and if it is, it will be removed 
    13221322// 
    1323 Function ClearAllIQIfDisplayed(type) 
    1324         String type 
     1323Function ClearAllIQIfDisplayed(type,winNameStr) 
     1324        String type,winNameStr 
    13251325 
    13261326//      String folderList = ksWorkFolderListShort 
     
    13301330        for(ii=0;ii<ItemsInList(ksWorkFolderListShort);ii+=1) 
    13311331                fldr = StringFromList(ii, ksWorkFolderListShort, ";") 
    1332                 ClearIQIfDisplayed(fldr,type) 
     1332                ClearIQIfDisplayed(fldr,type,winNameStr) 
    13331333        endfor 
    13341334        // just in case 
     
    13381338end 
    13391339 
    1340 Function ClearIQIfDisplayed(fldr,type) 
    1341         String fldr,type 
     1340Function ClearIQIfDisplayed(fldr,type,winNameStr) 
     1341        String fldr,type,winNameStr 
    13421342 
    13431343        SetDataFolder $("root:Packages:NIST:VSANS:"+fldr) 
     
    13491349                endif 
    13501350        else 
    1351                 CheckDisplayed/W=V_1D_Data $("iBin_qxqy_"+type) 
     1351                CheckDisplayed/W=$winNameStr $("iBin_qxqy_"+type) 
    13521352                if(V_flag==1) 
    1353                         RemoveFromGraph/W=V_1D_Data $("iBin_qxqy_"+type) 
     1353                        RemoveFromGraph/W=$winNameStr $("iBin_qxqy_"+type) 
    13541354                endif 
    13551355        endif 
Note: See TracChangeset for help on using the changeset viewer.