Opened 12 years ago
Last modified 12 years ago
#271 closed enhancement
Enable plotting spectra by sky position (from CAS-1814) — at Version 2
Reported by: | Kana Sugimoto | Owned by: | Kana Sugimoto |
---|---|---|---|
Priority: | normal | Milestone: | Unified development |
Component: | General | Version: | 2.0 |
Severity: | normal | Keywords: | |
Cc: |
Description (last modified by )
- enable plotting spectra based on their sky positions.
- users should be able to specify grid center, spacing, and the spatial extent over which the spectra should be sampled.
Change History (2)
comment:1 by , 12 years ago
Status: | new → assigned |
---|
comment:2 by , 12 years ago
Description: | modified (diff) |
---|
Note:
See TracTickets
for help on using tickets.
Date: 2012/06/26, 2012/07/17, 19
Rev.: 2576, 2600, 2602
Codes: asapplotter.py
Added a new method plotgrid in the asapplotter module.
asapplotter.plotgrid(scantable=None, center=None, spacing=None, rows=None, cols=None)
It plots the spectra in scantable based on sky position (stored in DIRECTION column).
This method doesn't grid spectra in a scantable. It just simply samples spectra in a scantable, based on parameter values specified by users, i.e., center, spacing, row, and cols. You may want to grid scantable using asapgrid module before plotting by this method.
Below is the descriptions of the parameters:
NOTE: center and spacing should be specified in the original unit and direction frame of DIRECTION column in scantable.
Also note that stacking is not supported in this method. Currently only the first IFNO and POLNO in the scantable is plotted. You can plot the other IF and/or polarization by selecting the proper ID before plotting.