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_Protocol_Reduction.ipf

    r1088 r1092  
    583583Function/S V_GetBGDList() 
    584584 
    585         String match="BLOCKED BEAM" 
    586         String list = V_getFileIntentList(match,0) 
    587  
     585        String intent="BLOCKED BEAM" 
     586        String purpose="SCATTERING" 
     587//      String list = V_getFileIntentList(match,0) 
     588        String list = V_getFileIntentPurposeList(intent,purpose,0) 
     589         
    588590//      Printf "BGD files = %s\r",list   
    589591        return(list) 
    590592end 
    591593 
    592  
     594// 
     595// V_getFileIntentPurposeList(intent,purpose,method) 
    593596Function/S V_GetEMPList() 
    594597 
    595         String match="EMPTY CELL" 
    596         String list = V_getFileIntentList(match,0) 
     598        String intent="EMPTY CELL" 
     599        String purpose="SCATTERING" 
     600//      String list = V_getFileIntentList(match,0) 
     601        String list = V_getFileIntentPurposeList(intent,purpose,0) 
     602 
    597603 
    598604//      Printf "EMP files = %s\r",list   
     
    755761 
    756762 
    757  
    758763         
    759764        return(list) 
     
    769774         
    770775        newList = V_Get_NotRawDataFileList() 
     776        newList = V_RemoveEXTFromList(newlist,"hst")            // remove the event files 
     777        newList = V_RemoveEXTFromList(newlist,"ave")            // remove the ave files 
     778        newList = V_RemoveEXTFromList(newlist,"abs")            // remove the abs files 
     779 
    771780        num=ItemsInList(newList) 
    772781         
     
    812821         
    813822        newList = V_Get_NotRawDataFileList() 
     823        newList = V_RemoveEXTFromList(newlist,"hst")            // remove the event files 
    814824        num=ItemsInList(newList) 
    815825         
     
    852862         
    853863        newList = V_Get_NotRawDataFileList() 
     864        newList = V_RemoveEXTFromList(newlist,"hst")            // remove the event files 
     865        newList = V_RemoveEXTFromList(newlist,"ave")            // remove the ave files 
     866        newList = V_RemoveEXTFromList(newlist,"abs")            // remove the abs files 
     867 
    854868        num=ItemsInList(newList) 
    855869         
     
    899913         
    900914        newList = V_Get_NotRawDataFileList() 
     915        newList = V_RemoveEXTFromList(newlist,"hst")            // remove the event files 
    901916        num=ItemsInList(newList) 
    902917         
Note: See TracChangeset for help on using the changeset viewer.