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/Subtract_1D.ipf

    r749 r757  
    321321        ShowInfo 
    322322        Label left "Sample, Solvent I (cm\\S-1\M)" 
    323         Label bottom "q ("+root:Packages:NIST:gAngstStr+"\\S-1\M)" 
     323         
     324        String angst = StrVarOrDefault("root:Packages:NIST:gAngstStr", "A" ) 
     325        Label bottom "q ("+angst+"\\S-1\M)" 
    324326//      Label right "Result I/cm\\S-1" 
    325327        ControlBar 40 
Note: See TracChangeset for help on using the changeset viewer.