Changeset 1844 for trunk/test


Ignore:
Timestamp:
08/04/10 12:35:08 (14 years ago)
Author:
Malte Marquarding
Message:

added some comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/test_scantable.py

    r1842 r1844  
    180180        assert_almost_equal(q1.stats(stat='max')[0], 2.66563416)
    181181
    182 
    183182    @with_setup(tempdir_setup, tempdir_teardown)
    184183    def test_save(self):
     
    196195        fname = args[0]
    197196        self.st.save(fname, args[1], True)
     197        # do some verification args[2] == True
    198198        if args[-1]:
    199199            s = scantable(fname)
     
    203203            assert_equals(self.st.getifnos(), s.getifnos())
    204204            assert_equals(self.st.getbeamnos(), s.getbeamnos())
     205            # see if the residual spectra are ~ 0.0
    205206            for spec in ds:
    206207                assert_almost_equals(sum(spec)/len(spec), 0.0, 5)
Note: See TracChangeset for help on using the changeset viewer.