Ignore:
Timestamp:
Oct 25, 2010 2:30:27 PM (12 years ago)
Author:
srkline
Message:

Fixed bug re-introduced by using the global ASCII code for Angstrom. Now it will use a default "A" if the global does not exist, rather than throwin up an error.

For 2D MC simulation, now if the data was scaled to ABS, the 2D data is "un-scaled" back to raw counts before saving as VAX format. A few counts may be lost here and there during the conversion, but less than 0.01% in my limited testing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS/SASCALC.ipf

    r752 r757  
    16191619        NVAR instrument = instrument 
    16201620        NVAR L2diff = L2diff 
    1621         NVAR lens = root:Packages:NIST:SAS:gUsingLenses 
    1622         SVAR aStr = root:Packages:NIST:gAngstStr 
     1621   NVAR lens = root:Packages:NIST:SAS:gUsingLenses 
     1622        SVAR/Z aStr = root:Packages:NIST:gAngstStr 
    16231623         
    16241624        sprintf temp,"Source Aperture Diameter =\t\t%6.2f cm\r",sourceApertureDiam() 
Note: See TracChangeset for help on using the changeset viewer.