Opened 13 years ago

#223 new question

polarization numbers

Reported by: kuiper@… Owned by: Malte Marquarding
Priority: normal Milestone: Unified development
Component: General Version: 2.0
Severity: normal Keywords:
Cc:

Description

This is a question but it might turn into a defect.

How does asap get its polnos from an SDFITS file?

This allows me to get at the table header and columns:

ASAP>import Data_Reduction.FITS.superasap as S

The first is a scantable with the table HDU atached. The procedure groups scans. ASAP>tab_1994_338, scan_groups, aves = \

S.report_Tid_SDFITS("1994/1994_338.fits",plot=True)

Whar ASAP thinks the polarization codes are: ASAP>tab_1994_338.getpolnos() asap>:(0,)

What the polarization codes are in the SDFITS table: ASAP>tab_1994_338.data.field('CRVAL4') asap>: array([-2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2,

-2, -2, -2, -2, -2], dtype=int16)

ASAP>tab_1994_338.headerCTYPE4? asap>:'STOKES'

Change History (0)

Note: See TracTickets for help on using tickets.