Changes between Initial Version and Version 1 of Ticket #94


Ignore:
Timestamp:
12/12/06 09:48:05 (18 years ago)
Author:
Malte Marquarding
Comment:

You forgot to reset the selection

q.flag(msk1)

q.set_selection() # <------

av=q.average_time(weight='tsys')

Otherwise you are trying to average the flagged data only.

This should bow out gracefully though. It should work, but maybe use the more appropriate

qd = q.drop_scan([1])

instead of flagging.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #94

    • Property Cc andrew.walsh@… added
    • Property Priority normallow
    • Property Status newassigned
  • Ticket #94 – Description

    initial v1  
    22
    33------------------------------
     4{{{
    45
    56s = scantable('2006-11-29_1258-M179.rpf')
     
    1819#
    1920av=q.average_time(weight='tsys')
    20 
     21}}}
    2122---------------------------------------
    2223
    2324ASAP will crash on the last line of this script (called fail.py), with the following:
    24 
     25{{{
    2526ASAP>execfile('fail.py')
    2627Auto averaging integrations
     
    2930
    3031/usr/bin/asap: line 54: 29374 Segmentation fault      $ip -ipythondir "${HOME}/.asap" -p 'asap' $*
    31 
     32}}}
    3233------------------------------------
    3334