Ignore:
Timestamp:
Mar 16, 2018 3:38:18 PM (5 years ago)
Author:
srkline
Message:

a number of changes, mostly to allow everything to compile.

added conditional compile to ensure that XML code would not be compiled if VSANS was present, since it's not XML-aware.

modified V_MainPanel to avoid conflicts with the SANS version. There still may be some functions hidden in procedures that do not have the V_ prefix yet, but these are either for functions that should point to a common file, or procedures that have been hidden from the VSANS panel

modified saving of VSANS mask files so that they can still be saved from teh deom version where home path is not defined.

File:
1 edited

Legend:

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

    r1090 r1091  
    1111// distribution.  
    1212// 
    13 // using Integrate function --  
     13// using Integrate function -- find the normalization value 
    1414// 
    1515// integral = 20926 (cts*A) for "top" 
     
    1717// integration of interpolated data (100 pts) = 20051 (3 A to 9 A) 
    1818// 
     19// 
     20// gives an average wavelength of 5.302 A 
     21// median ~ 5.97 A 
    1922// 
    2023// 
     
    3437         
    3538        if(lam < 3.84) 
    36                 return(23715 -5649*lam) 
     39                return(23715 - 5649*lam) 
    3740        endif 
    3841         
    39 // the "middle" of the spikes    
     42//// the "middle" of the spikes  
    4043//      if(lam < 4.12) 
    4144//              return(-84962 + 22634*lam) 
     
    4548//      endif 
    4649 
    47 // the "top" of the spikes 
     50//// the "top" of the spikes 
    4851        if(lam < 4.16) 
    4952                return(-84962 + 22634*lam) 
Note: See TracChangeset for help on using the changeset viewer.