Opened 18 years ago

Closed 18 years ago

#66 closed defect (fixed)

Cannot run average_pol on circular data

Reported by: Chris Phillips Owned by: Malte Marquarding
Priority: high Milestone: ASAP 2.1
Component: c++ Version: 2.0
Severity: major Keywords:
Cc:

Description

Average_pol refuses to average two circular polarisations.

Additionally for data with "4" polarisations (e.g. XX YY Re(XY) Im(XY), average_pol should just average the two parallel pols to stokes I.

Change History (4)

comment:1 by Malte Marquarding, 18 years ago

Resolution: fixed
Status: newclosed

comment:2 by Chris Phillips, 18 years ago

Resolution: fixed
Status: closedreopened

comment:3 by Chris Phillips, 18 years ago

Average pol now has a problem with two pol data (circular and linear):

ASAP>print avb


Scan Table Summary


Beams: 1 IFs: 2 Polarisations: 2 (linear) Channels: 2048

<snip> Selection: none <snip>

Traceback (most recent call last):

File "<console>", line 1, in ? File "mx.py", line 53, in ?

avp = avb.average_pol()

File "/u/phi196/data/pkgs/asap/asap/scantable.py", line 1089, in average_pol

s = scantable(self._math._averagepol(self, mask, weight.upper()))

RuntimeError: averagePolarisations can only be applied to two or morepolarisations

comment:4 by Malte Marquarding, 18 years ago

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