Ignore:
Timestamp:
Nov 25, 2009 2:40:15 PM (13 years ago)
Author:
srkline
Message:

USANS:

  • added warning for mutliple scattering to the panel (red if trouble)
  • improved handling of .bt5 files if the peak can't be found
  • added a routine to save the fake "cor" file along with the .bt5 files. The cor file is much more useful.

SANS:

  • updated (again) the SASCALC flux numbers. Also made some more of the flux paramters to be instrument specific globals to make future changes easier.
File:
1 edited

Legend:

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

    r577 r605  
    488488        Wave/T listW=$(USANSFolder+":Globals:MainPanel:"+type+"Wave") 
    489489        Variable ii,num=numpnts(listW) 
    490         String fname="",fpath="" 
     490        String fname="",fpath="",str="" 
    491491        PathInfo bt5PathName 
    492492        fpath = S_Path 
     
    519519        Variable pkHt=0 
    520520        pkHt = interp(zeroAngle,tmpangle,tmpdetcts) 
    521         String str="" 
     521         
     522        if(numtype(pkHt) != 0)          // bad but it warns, useful if only positive angles are available, use the smallest 
     523                str = "Can't find peak at angle = "+num2str(zeroAngle)+" Using the value at angle = "+num2str(tmpAngle[0]) 
     524                pkHt = tmpDetCts[0] 
     525        endif 
     526 
    522527        str=note(tmpDetCts) 
    523528        str = ReplaceNumberByKey("PEAKANG",str,zeroAngle,":",";") 
Note: See TracChangeset for help on using the changeset viewer.