Changeset 1356


Ignore:
Timestamp:
04/26/07 16:44:59 (18 years ago)
Author:
mar637
Message:

fix to auto_quotient; the selector add_ operator ANDs the query which is not wnated in this case

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/scantable.py

    r1348 r1356  
    14881488        if mode.lower() == "paired":
    14891489            basesel = self.get_selection()
    1490             sel = selector()
    1491             self.set_selection(basesel+sel)
     1490            sel = selector()+basesel
     1491            sel.set_query("SRCTYPE==1")
     1492            self.set_selection(sel)
    14921493            offs = self.copy()
    14931494            sel.set_query("SRCTYPE==0")
    1494             self.set_selection(basesel+sel)
     1495            self.set_selection(sel)
    14951496            ons = self.copy()
    14961497            s = scantable(self._math._quotient(ons, offs, preserve))
Note: See TracChangeset for help on using the changeset viewer.