Ignore:
Timestamp:
Jul 6, 2012 5:29:38 PM (10 years ago)
Author:
srkline
Message:

Added support for reading 4-column data into the 2D reader

Calculation of kappa for ABS now does a specific byte check for ensuring a "good" DIV file. hopefully this will eliminate errors where incorrect DIV files are selected and bad kappa values are generated - and the program thinks (incorrectly) that there is a valid DVI file present, when there really isn't one (and then there is no easy recovery from this)

Added CheckIfDIVData() functions to NCNR_Utils and to FACILITY_Utils, and to other (facility)_Utils

Changed the calls to writing BT5 files after adding so that it could be more easily scripted in the future.

File:
1 edited

Legend:

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

    r795 r857  
    259259//      if(your test here) 
    260260//              //true, is raw data file 
     261//              Return(1) 
     262//      else 
     263//              //some other file 
     264//              Return(0) 
     265//      Endif 
     266 
     267End 
     268 
     269//function to test a file to see if it is a DIV file 
     270// 
     271// returns truth 0/1 
     272// 
     273// called by many procedures (both external and local) 
     274// 
     275Function CheckIfDIVData(fname) 
     276        String fname 
     277         
     278 
     279//      if(your test here) 
     280//              //true, is DIV data file 
    261281//              Return(1) 
    262282//      else 
Note: See TracChangeset for help on using the changeset viewer.