Opened 19 years ago

Closed 19 years ago

#10 closed defect (fixed)

Cannot select "RR & LL"

Reported by: Chris Phillips Owned by: Malte Marquarding
Priority: normal Milestone: ASAP2 beta release
Component: python Version: 2.0
Severity: major Keywords: plotter, polarimetry
Cc:

Description

The following selection of stokes RR & LL fails on the plotter (using Parkes test data)

ASAP> selection.set_polarisations("RR LL")

ASAP> plotter.set_selection(selection)
------------------------------------------------------------
Traceback (most recent call last):
  File "<console>", line 1, in ?
  File "/u/phi196/data/pkgs/asap/lib/python2.3/site-packages/asap/asapplotter.py", line 488, in set_selection
    if self._data and refresh: self.plot(self._data)
  File "/u/phi196/data/pkgs/asap/lib/python2.3/site-packages/asap/asapplotter.py", line 89, in plot
    self._plot(self._data)
  File "/u/phi196/data/pkgs/asap/lib/python2.3/site-packages/asap/asapplotter.py", line 433, in _plot
    y = scan._getspectrum(r, polmodes[scan.getpol(r)])
RuntimeError: Polarisation type unknown

Change History (1)

comment:1 by Malte Marquarding, 19 years ago

Resolution: fixed
Status: newclosed

Fixed typo in STPol.h

Note: See TracTickets for help on using tickets.