Changeset 32 for trunk/examples
- Timestamp:
- 07/07/04 11:37:49 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/test.py
r20 r32 12 12 # close the reader 13 13 r = None 14 15 # Test sdwriter. 16 print 'Begin sdwriter tests...' 17 # Create an MS2 writer. 18 w = sdwriter('MS2') 19 # Change to SDFITS output format (the default). 20 w.setformat() 21 # Write out the spectra. 22 w.write(scans, 'test_SDWriter.sdfits') 23 14 24 # print a short summary of the data 15 25 scans.summary()
Note:
See TracChangeset
for help on using the changeset viewer.