Ignore:
Timestamp:
Apr 14, 2010 10:53:31 AM (13 years ago)
Author:
srkline
Message:

Added model documentation for FuzzySpheres? and CSParallelpiped

Added axis labels to data loaded through XML loader

Writing of XML USANS data is now properly handling cursors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Reduction/USANS/WriteUSANSData.ipf

    r669 r690  
    254254        Endif 
    255255         
     256        //write out partial set? 
     257        // duplicate the original data, all 3 waves 
     258        Duplicate/O qvals,tq,ti,te 
     259        ti=inten 
     260        te=sig 
     261        if( (lo!=hi) && (lo<hi)) 
     262                redimension/N=(hi-lo+1) tq,ti,te,dumWave                //lo to hi, inclusive 
     263                tq=qvals[p+lo] 
     264                ti=inten[p+lo] 
     265                te=sig[p+lo] 
     266        endif 
     267         
    256268        //Data 
    257         Wave nf.Q = qvals 
     269        Wave nf.Q = tq 
    258270        nf.unitsQ = "1/A" 
    259         Wave nf.I = inten 
     271        Wave nf.I = ti 
    260272        nf.unitsI = "1/cm" 
    261         Wave nf.Idev = sig 
     273        Wave nf.Idev = te 
    262274        nf.unitsIdev = "1/cm" 
    263275        // for slit-smeared USANS, set only a 4th column to  -dQv 
     
    268280        //fprintf refnum,"FILE: %s\t\t CREATED: %s\r\n",textw[0],textw[1] 
    269281         
    270                 //tailor the output given the type of data written out... 
     282        //tailor the output given the type of data written out... 
    271283        WAVE inten_EMP=$(USANSFolder+":EMP:DetCts") 
    272284        String samStr="",empStr="",dateStr="",samLabelStr="",paramStr="",empLevStr="",bkgLevStr="" 
     
    309321         
    310322        //AJJ to fix with sensible values 
    311         nf.run = "Test" 
     323        nf.run = "" 
    312324        nf.nameSASinstrument = "BT5 USANS" 
    313325        nf.SASnote = "" 
Note: See TracChangeset for help on using the changeset viewer.