Ignore:
Timestamp:
Jul 22, 2009 5:04:51 PM (13 years ago)
Author:
srkline
Message:

Changed T-Wide calculation to be normalized to the monitor counts, hopefully to avoid oddities of MCR fluctuations.

Also handle the case where data greater than 2 degrees is not present. in this case, a warning is presented, and the last 4 points are used, whatever the angles are.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Reduction/USANS/Main_USANS.ipf

    r496 r540  
    141141        DrawText 140,357,"Raw Data Header" 
    142142        SetDrawEnv fstyle= 1 
    143         DrawText 293,55,"Current Data" 
     143//      DrawText 293,55,"Current Data" 
    144144        ListBox fileLB,pos={5,55},size={110,230},proc=FileListBoxProc 
    145145        ListBox fileLB,listWave=root:Packages:NIST:USANS:Globals:MainPanel:fileWave 
     
    185185        SetVariable FilterSetVar,pos={8,289},size={106,18},title="Filter",fSize=12 
    186186        SetVariable FilterSetVar,value= root:Packages:NIST:USANS:Globals:MainPanel:FilterStr 
    187         CheckBox UseCurrentData,pos={298,290},size={10,10},proc=UseCurrentDataProc,title="Enable Current Data" 
    188         CheckBox UseCurrentData,value=0 
     187//      CheckBox UseCurrentData,pos={298,290},size={10,10},proc=UseCurrentDataProc,title="Enable Current Data" 
     188//      CheckBox UseCurrentData,value=0 
    189189        Button USANSFeedback,pos={220,6},size={100,20},proc=U_OpenTracTicketPage,title="Feedback" 
    190190         
     
    339339        curPathStr = S_Path 
    340340         
    341         print fpath 
     341//      print fpath 
    342342         
    343343        if(cmpstr("",listW[0])==0) 
     
    424424        Variable ctTime 
    425425        ctTime = NumberByKey("TIMEPT",noteStr,":",";") 
    426         print ctTime 
     426//      print ctTime 
    427427        //normalize by counting time 
    428428        Wave detCts = $(USANSFolder+":"+Type+":DetCts") 
Note: See TracChangeset for help on using the changeset viewer.