Changeset 582 for trunk


Ignore:
Timestamp:
04/08/05 15:00:19 (20 years ago)
Author:
mar637
Message:

fix for asap0003

Location:
trunk/python
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/asapmath.py

    r558 r582  
    5959        preserve:      you can preserve (default) the continuum or
    6060                       remove it.  The equations used are
    61                           preserve - Output = Tref * (sig/ref) - Tref
    62                           remove   - Output = Tref * (sig/ref) - Tsig
     61                          preserve:  Output = Toff * (on/off) - Toff
     62                          remove:    Output = Toff * (on/off) - Ton
    6363    """
    6464    varlist = vars()
  • trunk/python/scantable.py

    r579 r582  
    12581258    def quotient(self, other, isreference=True, preserve=True):
    12591259        """
    1260         Return the quotient of a 'source' (signal) scan and a 'reference' scan.
     1260        Return the quotient of a 'source' (on) scan and a 'reference' (off)
     1261        scan.
    12611262        The reference can have just one row, even if the signal has many.
    12621263        Otherwise they must have the same number of rows.
    12631264        The cursor of the output scan is set to 0
    12641265        Parameters:
    1265             source:         the 'other' scan
     1266            other:          the 'other' scan
    12661267            isreference:    if the 'other' scan is the reference (default)
    12671268                            or source
    12681269            preserve:       you can preserve (default) the continuum or
    12691270                            remove it.  The equations used are
    1270                             preserve - Output = Tref * (sig/ref) - Tref
    1271                             remove   - Output = Tref * (sig/ref) - Tsig
     1271                            preserve: Output = Toff * (on/off) - Toff
     1272                            remove:   Output = Tref * (on/off) - Ton
    12721273        Example:
    12731274            # src is a scantable for an 'on' scan, ref for an 'off' scantable
Note: See TracChangeset for help on using the changeset viewer.