Ignore:
Timestamp:
Mar 23, 2018 10:29:07 AM (5 years ago)
Author:
srkline
Message:

added a few corrections to the reduction:

Added sample apertures to the patch panel so that they can be corrected

A flag is now written to the data files if the "flip" has been done, and it will refuse to flip again. This flag can be reset if something goes wrong.

Multiple reduce now allows run numbers to be entered as is for SANS,

Filtering of files for the protocol panel should be better behaved now.

File:
1 edited

Legend:

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

    r1084 r1092  
    962962End 
    963963 
     964// removes any item with ".EXT" from the list 
     965// don't pass the "." 
     966// returns a modified list 
     967Function/S V_RemoveEXTFromList(list,ext) 
     968        String list,ext 
     969         
     970        ext = "*."+ext 
     971        Variable num=ItemsInList(list,";"),ii 
     972        String item,newList="" 
     973         
     974        for(ii=0;ii<num;ii+=1) 
     975                item = StringFromList(ii, list  ,";") 
     976 
     977                if( !stringmatch(item,ext) ) 
     978                        newlist += item + ";" 
     979                endif 
     980                 
     981        endfor 
     982        return(newList) 
     983End 
    964984 
    965985//the following is a WaveMetrics procedure from <StrMatchList> 
Note: See TracChangeset for help on using the changeset viewer.