![]()
|
|||
|
|
|||
| NRAO Home > CASA > CasaRef |
|
||
3.2.1 !!!INPUT PARAMETERS IGNORED!!! return the row numbers in the
(reference) table
Description
!!!NOTE INPUT PARAMETERS IGNORED!!!
This function can be useful after a selection or a sort. It returns the row
numbers of the rows in this table with respect to the given table. If no table is
given, the original table is used.
For example:
The last statements show that the function returns the row numbers referring to the given table. Table t2 contains rows 2 and 4 in table t1, which are rows 5 and 9 in table ’3C273XC1.MS’.
Note that when a table is opened using its name, that table can be a reference table.
Thus in the example above the last 2 statements may give different results depending
on the fact if 3C273XC1.MS is a reference table or not.
The function should always be called with a table argument. The ability of omitting
the argument is only present for backward compatibility.
The function can be useful to get the correct values from the result of a getcol or getcolslice on the original table.
!!!NOTE INPUT PARAMETERS IGNORED!!!
Arguments
| Inputs |
| ||
| tab |
| Table to which the row numbers refer | |
| allowed: | any |
|
| Default: | record |
|
| nbytes |
| Maximum cache size in bytes
| |
| allowed: | int |
|
| Default: |
|
|
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.