Changes between Initial Version and Version 2 of Ticket #271


Ignore:
Timestamp:
07/19/12 17:12:46 (12 years ago)
Author:
Kana Sugimoto
Comment:

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:

  • center: a list of R.A. and Dec. which specifies the center of directions to be plotted in the direction frame and unit of DIRECTION column, e.g., [-1.309, 0.5236] (rad) for "J2000 19h00m00 30d00m00" (default: average direction if scantable.)
  • spacing: a list of R.A. and Dec. spacing by which spectra are sampled in the unit of DIRECTION column, e.g, [0.000291,0.00291] (rad) for 1arcmin spacing. (default: extent of DIRECTION / number of rows or cols)
  • rows & cols: the number of panels to plot (sample) in R.A. and Dec. (default: the value set by set_layout or if not set, rows = cols = 1)

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.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #271

    • Property Status changed from new to assigned
  • Ticket #271 – Description

    initial v2  
    1 - enable plotting spectra based on their sky positions.
    2 - users should be able to specify grid center, spacing, and the spatial extent over which the spectra should be sampled.
     1- enable plotting spectra based on their sky positions. [[BR]]
     2- users should be able to specify grid center, spacing, and the spatial extent over which the spectra should be sampled.[[BR]]