Public Member Functions | |
def | __init__ |
def | setData |
def | getResult |
Public Attributes | |
gridder | |
scantab |
The asapgrid class is defined to convolve data onto regular spatial grid. Typical usage is as follows: # create asapgrid instance with input scantable s = scantable( 'testimage1.asap', average=False ) g = asapgrid( s ) # set IFNO if necessary g.setIF( 0 ) # set POLNOs if necessary g.setPolList( [0,1] ) # set SCANNOs if necessary g.setScanList( [22,23,24] ) # define image with full specification # you can skip some parameters (see help for defineImage) g.defineImage( nx=12, ny=12, cellx='10arcsec', celly='10arcsec', center='J2000 10h10m10s -5d05m05s' ) # set convolution function g.setFunc( func='sf', width=3 ) # enable min/max clipping g.enableClip() # or, disable min/max clipping #g.disableClip() # actual gridding g.grid() # get result as scantable sg = g.getResult()
Definition at line 316 of file asapgrid.py.
def asap.asapgrid.asapgrid2.__init__ | ( | self, | |
scantab | |||
) |
Create asapgrid instance. scantab -- input data as a scantable or a list of scantables to grid more than one data at once.
Definition at line 345 of file asapgrid.py.
def asap.asapgrid.asapgrid2.getResult | ( | self | ) |
Return gridded data as a scantable.
Reimplemented from asap.asapgrid.asapgrid_base.
Definition at line 370 of file asapgrid.py.
def asap.asapgrid.asapgrid2.setData | ( | self, | |
scantab | |||
) |
Set data to be processed. scantab -- input data as a scantable or a list of scantables to grid more than one data at once.
Reimplemented from asap.asapgrid.asapgrid_base.
Definition at line 357 of file asapgrid.py.
References asap.asapgrid.asapgrid_base.scantab.
Reimplemented from asap.asapgrid.asapgrid_base.
Definition at line 353 of file asapgrid.py.
Referenced by task_sdgrid.sdgrid_worker.initialize().
Reimplemented from asap.asapgrid.asapgrid_base.
Definition at line 354 of file asapgrid.py.