Opened 16 years ago
Last modified 16 years ago
#162 reopened defect
Polarisation data extraction
Reported by: | Owned by: | Malte Marquarding | |
---|---|---|---|
Priority: | normal | Milestone: | ASAP 2.4 |
Component: | General | Version: | 2.0 |
Severity: | normal | Keywords: | |
Cc: |
Description (last modified by )
I'm trying to extract ascii files with just the polarisation data in them, but the files produced look identical. I was wondering if you might be able to spot anything obvious that I'm missing. Here are the commands I'm using:
plotscans.set_selection() sel = plotscans.get_selection() sel.set_polarisations(['I','Plinear']) plotscans.set_selection(sel) plotscans.save(source+'IPl','ASCII') sel.reset() plotscans.set_selection() sel = plotscans.get_selection() sel.set_polarisations(['RR', 'LL']) plotscans.set_selection(sel) plotscans.save(source+'RRLL','ASCII')
Change History (3)
comment:1 by , 16 years ago
Description: | modified (diff) |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:2 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:3 by , 16 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
convert_pol doesn't handle cross-terms.
As a workaround write the text file in python as per Tips&Tricks WriteSpectraToTextFile
Note:
See TracTickets
for help on using tickets.
Hi Jimi,
you need to convert the polarisation type first, e.g. here
The documentation for
scantable.convert_pol
doesn't actually list 'linpol' as an option, which I have fixed. It works though.