Ignore:
Timestamp:
Jun 30, 2008 8:49:58 PM (15 years ago)
Author:
srkline
Message:

Changed NCNR_ raw data reader to get the magnetic field strength (actually the voltage) from byte 348, rather than 190.

Added Jan Ilavsky's fixes to all data loaders to accept 2-column data. A fake error is generated for the data set as read in, so the data can be treated as 3-column data from that point.

File:
1 edited

Legend:

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

    r370 r392  
    14351435 
    14361436//field strength is at byte 190 
     1437// 190 is not the right location, 348 looks to be correct for the electromagnets, 450 for the  
     1438// superconducting magnet. Although each place is only the voltage, it is correct 
    14371439Function getFieldStrength(fname) 
    14381440        String fname 
    14391441         
    1440         return(getRealValueFromHeader(fname,190)) 
     1442//      return(getRealValueFromHeader(fname,190)) 
     1443        return(getRealValueFromHeader(fname,348)) 
    14411444end 
    14421445 
Note: See TracChangeset for help on using the changeset viewer.