Opened 13 years ago
Closed 12 years ago
#271 closed enhancement (fixed)
Enable plotting spectra by sky position (from CAS-1814)
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 (4)
comment:1 by , 13 years ago
Status: | new → assigned |
---|
comment:2 by , 12 years ago
Description: | modified (diff) |
---|
comment:3 by , 12 years ago
Since asapplotter.plotgrid neither grids scantable nor overlays spectra, only the first spectrum in the spacing is plotted on each panel of plot. This means when the value of spacing set is larger than the pointing spacing of observation of the scantable, only one spectrum in the spacing is sampled to plot and the other spectra are skipped.
comment:4 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
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.