- Timestamp:
- Apr 14, 2010 10:53:31 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Dev/trunk/NCNR_User_Procedures/Reduction/USANS/WriteUSANSData.ipf
r669 r690 254 254 Endif 255 255 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 256 268 //Data 257 Wave nf.Q = qvals269 Wave nf.Q = tq 258 270 nf.unitsQ = "1/A" 259 Wave nf.I = inten271 Wave nf.I = ti 260 272 nf.unitsI = "1/cm" 261 Wave nf.Idev = sig273 Wave nf.Idev = te 262 274 nf.unitsIdev = "1/cm" 263 275 // for slit-smeared USANS, set only a 4th column to -dQv … … 268 280 //fprintf refnum,"FILE: %s\t\t CREATED: %s\r\n",textw[0],textw[1] 269 281 270 282 //tailor the output given the type of data written out... 271 283 WAVE inten_EMP=$(USANSFolder+":EMP:DetCts") 272 284 String samStr="",empStr="",dateStr="",samLabelStr="",paramStr="",empLevStr="",bkgLevStr="" … … 309 321 310 322 //AJJ to fix with sensible values 311 nf.run = " Test"323 nf.run = "" 312 324 nf.nameSASinstrument = "BT5 USANS" 313 325 nf.SASnote = ""
Note: See TracChangeset
for help on using the changeset viewer.