Changeset 424


Ignore:
Timestamp:
02/14/05 12:38:39 (20 years ago)
Author:
kil064
Message:

make scanav True the default in average_time

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/asapmath.py

    r411 r424  
    99        one scan or comma separated  scans
    1010        mask:     an optional mask (only used for 'var' and 'tsys' weighting)
    11         scanav:   False (default) averages all scans together,
    12                   True averages each scan separately
     11        scanav:   True (default) averages each scan separately
     12                  False averages all scans together,
    1313        weight:   Weighting scheme. 'none' (default), 'var' (variance
    1414                  weighted), 'tsys'
     
    2222
    2323    """
    24     scanAv = False
     24    scanAv = True
    2525    if kwargs.has_key('scanav'):
    2626       scanAv = kwargs.get('scanav')
    27 
    2827    weight = 'none'
    2928    if kwargs.has_key('weight'):
    3029       weight = kwargs.get('weight')
    31 
    3230    mask = ()
    3331    if kwargs.has_key('mask'):
    3432        mask = kwargs.get('mask')
    35 
    3633    lst = tuple(args)
    3734    from asap._asap import average as _av
Note: See TracChangeset for help on using the changeset viewer.