Chandra X-Ray Observatory
	(CXC)
Skip to the navigation links
Last modified: December 2013

URL: http://cxc.harvard.edu/ciao/ahelp/is_virtual.html
Jump to: Description · Example · Bugs · See Also


AHELP for CIAO 4.9

is_virtual

Context: crates

Synopsis

Determine if the input column from the crate is a virtual column.

Syntax

is_virtual(crate, colname)

Description

Argument Description
crate A Crate object such as a TABLECrate or IMAGECrate
colname The column name (case insensitive).

The is_virtual command returns True if the specified column is a virtual column and False if it is not; see "ahelp dm" for information on virtual columns.

Example

>>> cr = read_file("evt2.fits")
>>> is_virtual(cr, "time")
False
>>> is_virtual(cr, "eqpos")
True

The is_virtual command is used to determine that the eqpos column is virtual, but the time column is not.

Bugs

See the bug pages on the CIAO website for an up-to-date listing of known bugs.

Refer to the CIAO bug pages for an up-to-date listing of known issues.

See Also

contrib
add_colvals
crates
add_col, col_exists, copy_colvals, delete_col, get_col, get_col_names, get_colvals, get_number_cols, is_pha, is_rmf, key_exists, set_colvals

Last modified: December 2013
Smithsonian Institute Smithsonian Institute

The Chandra X-Ray Center (CXC) is operated for NASA by the Smithsonian Astrophysical Observatory. 60 Garden Street, Cambridge, MA 02138 USA.   Email:   cxchelp@head.cfa.harvard.edu Smithsonian Institution, Copyright © 1998-2017. All rights reserved.