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

    r1209 r1222  
    121121        // define limits based on lo/mean, hi/mean of the wavelength distribution 
    122122        // using the empirical definition, "middle" of the peaks 
    123         loLim = 3.37/5.3 
    124         upLim = 8.37/5.3 
     123        loLim = 3.37/kWhiteBeam_Mean 
     124        upLim = 8.37/kWhiteBeam_Mean 
    125125         
    126126        inten = V_IntegrGaussSphereWB_mid(w,loLim,upLim,xx) 
     
    128128// why do I need this? Is this because this is defined as the mean of the distribution 
    129129//  and is needed to normalize the integral? verify this on paper.       
    130         inten *= 5.3 
     130        inten *= kWhiteBeam_Mean 
    131131 
    132132// normalize the integral        
    133         inten /= 19933          // "middle"  of peaks 
     133        inten /= kWhiteBeam_Normalization               // "middle"  of peaks 
    134134 
    135135        inten -= w[5] 
     
    167167//      FUNCREF SANSModel_proto func = $funcStr 
    168168 
    169         val = V_WhiteBeamDist_mid(dum*5.3)*GaussSpheresX(cw,qq/dum) 
     169        val = V_WhiteBeamDist_mid(dum*kWhiteBeam_Mean)*GaussSpheresX(cw,qq/dum) 
    170170         
    171171        return (val) 
Note: See TracChangeset for help on using the changeset viewer.