Ignore:
Timestamp:
Oct 18, 2019 1:08:35 PM (3 years ago)
Author:
srkline
Message:

Updated help file for VSANS. Graphics were not PNG.

Removed HFIR SANS package since if requires XML XOP - no longer supported.

Improved quality of graphics export for Analysis reports.

Added more support for super_white_beam mode on VSANS

Corrected printf bug (Igor 8) when printing out % sign

Added utilities for patching wavelength and monochromator type on VSANS since the type is still not written out correctly by NICE, and super_white_beam is not yet defined in NICE

Adjusted panel dimensions for the temperature sensor display on VSANS (needed onWindows)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Analysis/VSANS/V_SWB_BroadPeak.ipf

    r1209 r1222  
    124124        // define limits based on lo/mean, hi/mean of the wavelength distribution 
    125125        // using the empirical definition, "middle" of the peaks 
    126         loLim = 3.37/5.3 
    127         upLim = 20/5.3 
     126        loLim = 3.37/kSuperWhiteBeam_Mean 
     127        upLim = 20/kSuperWhiteBeam_Mean 
    128128         
    129129        inten = V_IntegrBroadPeakSWB_mid(w,loLim,upLim,x) 
     
    133133// why do I need this? Is this because this is defined as the mean of the distribution 
    134134//  and is needed to normalize the integral? verify this on paper.       
    135         inten *= 5.3 
     135        inten *= kSuperWhiteBeam_Mean 
    136136 
    137137// normalize the integral        
    138         inten /= 30955          // "middle"  of peaks 
     138        inten /= kSuperWhiteBeam_Normalization          // "middle"  of peaks 
    139139 
    140140        inten -= w[6] 
     
    176176//      FUNCREF SANSModel_proto func = $funcStr 
    177177 
    178         val = V_SuperWhiteBeamDist_mid(dum*5.3)*BroadPeakX(cw,qq/dum) 
     178        val = V_SuperWhiteBeamDist_mid(dum*kSuperWhiteBeam_Mean)*BroadPeakX(cw,qq/dum) 
    179179         
    180180        return (val) 
Note: See TracChangeset for help on using the changeset viewer.