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.

Location:
sans/Dev/trunk/NCNR_User_Procedures/SANS/Analysis/Models
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/SANS/Analysis/Models/Packages/Wrapper_v40.ipf

    r391 r392  
    388388                         
    389389                        // clear the table (a subwindow) 
     390                        DoWindow/F WrapperPanel                         // ?? had to add this in during all of the cursor meddling... 
    390391                        KillWindow wrapperPanel#T0 
    391392                        Edit/W=(20,174,634,435)/HOST=# 
  • sans/Dev/trunk/NCNR_User_Procedures/SANS/Analysis/Models/PlotUtilsMacro_v40.ipf

    r385 r392  
    7676        String fileName = S_fileName 
    7777        Variable numCols = V_flag 
     78         
     79        //changes JIL 
     80        if(numCols==2)          //no errors      
     81                n1 = StringFromList(1, S_waveNames ,";" )                
     82                Duplicate/O $("root:"+n1), errorTmp 
     83                 errorTmp = 0.01*(errorTmp)+ 0.03*sqrt(errorTmp) 
     84                S_waveNames+="errorTmp;" 
     85                numCols=3 
     86        endif 
    7887         
    7988        if(numCols==3)          //simple 3-column data with no resolution information 
Note: See TracChangeset for help on using the changeset viewer.