Ignore:
Timestamp:
Nov 4, 2009 4:58:52 PM (13 years ago)
Author:
srkline
Message:

changes to how a fake VAX raw data file is written out. now call accepts optional parameters so that the index and label can be supplied, and the MC simulation can be very crudely scripted for unattended operation.

File:
1 edited

Legend:

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

    r583 r596  
    124124        Variable/G root:Packages:NIST:SAS:gSaveIndex = 100 
    125125        String/G root:Packages:NIST:SAS:gSavePrefix = "SIMUL" 
     126        Variable/G root:Packages:NIST:SAS:gAutoSaveIndex = 100                  //a way to set the index for automated saves 
     127        String/G root:Packages:NIST:SAS:gAutoSaveLabel = ""                             //a way to set the "sample" label for automated saves 
    126128        Make/O/D/N=10 root:Packages:NIST:SAS:results = 0 
    127129        Make/O/T/N=10 root:Packages:NIST:SAS:results_desc = {"total X-section (1/cm)","SAS X-section (1/cm)","number that scatter","number that reach detector","avg # times scattered","fraction single coherent","fraction multiple coherent","fraction multiple scattered","fraction transmitted","detector counts w/beamstop"} 
Note: See TracChangeset for help on using the changeset viewer.