![]()
|
|||
|
|
|||
| NRAO Home > CASA > CasaRef |
|
||
1.1.3 Set reference pixel and value
Description
This function sets the reference pixel and reference value to the specified
values. The world coordinate can be specified in any of the formats that the
output world coordinate is returned in by the toworld function.
You can specify a mask (argument mask) indicating which pixel axes are set (T) and which are left unchanged (F). This function will refuse to change the reference location of a Stokes axis (gets you into trouble otherwise).
This function can be rather useful when regridding images. It allows you to keep easily a particular feature centered in the regridded image.
Arguments
| Inputs |
| ||
| pixel |
| New reference pixel. Defaults to old reference pixel.
| |
| allowed: | intArray |
|
| Default: | -1 | |
| world |
| New reference value. Defaults to old reference value.
| |
| allowed: | any |
|
| Default: | variant -1 |
|
| mask |
| Indicates which axes to center. Defaults to all.
| |
| allowed: | boolArray |
|
| Default: | false |
|
Example
Please send any comments or questions about CASA or AIPS++ to aips2-requests@nrao.edu
Copyright © 2008 Associated Universities Inc., Washington, D.C.
This code is available under the terms of the GNU General Public Lincense
Home |
Contact Us |
Directories |
Site Map |
Help |
Privacy Policy |
Search
Updated daily during alpha development.