Ignore:
Timestamp:
Jan 3, 2011 12:06:23 PM (12 years ago)
Author:
srkline
Message:

fixed a bug in ILL_DataReadWrite that always set the sample aperture diameter to 10 mm. It appears that the raw data files have zero as the aperture diameter, so if zero is found, 10 is returned. Otheriwse, if a value is found, it is returned.

Added a few tweaks to the Histogram Pair procedures on the Marquee.

deleted extra pragma statement from CircSectAve?.ipf

File:
1 edited

Legend:

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

    r777 r779  
    12311231        // your code returning value 
    12321232//      value = getRealValueFromHeader_2(fname,60,28,5,15,3)  
    1233         value = getRealValueFromHeader(fname,72) 
    1234          
    1235         value = 10 
     1233        value = getRealValueFromHeader(fname,73) 
     1234         
     1235        if(value == 0)          //in case no aperture size was written to raw data file 
     1236                value = 10 
     1237        endif 
    12361238         
    12371239        return(value) 
Note: See TracChangeset for help on using the changeset viewer.