Changes between Version 2 and Version 3 of WriteSpectraToTextFile
- Timestamp:
- 05/08/09 11:29:43 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WriteSpectraToTextFile
v2 v3 21 21 yll = scan.get_spectrum(0) 22 22 23 23 # magic line to create three columns x,yrr,ll and nchannel rows 24 # which is how we want ro write the data 25 # [ ( x[0],yrr[0],yll[0] ) , ..., ( x[n-1],yrr[n-1],yll[n-1] ) ] 24 26 columns = map(None, x, yrr, yll) 25 27