Opened 18 years ago

Closed 18 years ago

#28 closed defect (fixed)

average_time cannot weight by Tsys?

Reported by: Tony.Wong@… Owned by: Malte Marquarding
Priority: normal Milestone: ASAP2 release
Component: python Version: 2.0
Severity: normal Keywords:
Cc: Tony.Wong@…

Description

When running a prior script (see /data/KAPUTAR_2/won073/asap) I get this error:


Traceback (most recent call last):

File "<console>", line 1, in ?

File "tony.py", line 52, in batch_average

av = average_time(a,weight='tsys')

File "/usr/local/asap2/asap/asapmath.py", line 72, in average_time

s = scantable(stm._average(alignedlst, mask, weight, scanav))

RuntimeError?: tsys is not a valid weighting mode

Change History (2)

comment:1 Changed 18 years ago by Malte Marquarding

Cc: Tony.Wong@… added
Component: Generalpython
Status: newassigned

I will fix this. Try upper case 'TSYS' in the meantime.

comment:2 Changed 18 years ago by Malte Marquarding

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.