Changeset 32


Ignore:
Timestamp:
07/07/04 11:37:49 (20 years ago)
Author:
mcalabre
Message:

Added sdwriter tests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/test.py

    r20 r32  
    1212# close the reader
    1313r = None
     14
     15# Test sdwriter.
     16print 'Begin sdwriter tests...'
     17# Create an MS2 writer.
     18w = sdwriter('MS2')
     19# Change to SDFITS output format (the default).
     20w.setformat()
     21# Write out the spectra.
     22w.write(scans, 'test_SDWriter.sdfits')
     23
    1424# print a short summary of the data
    1525scans.summary()
Note: See TracChangeset for help on using the changeset viewer.