|
The
data attributes of an Atom Vector (AV)
are:
|
Attribute
Name
|
Value
|
|
numatom
|
Number
of Atoms
|
|
numdimen
|
Number
of Dimensions
|
|
firstatom
|
Atom
number or index of the first
atom
|
|
lastatom
|
Atom
number or index of the last
atom
|
|
type
|
"Entire-Mapped",
"Entire-Anonymous",
"Extract-Mapped",
"Extract-Anonymous"
|
|
CXType
|
"AtomVector"
|
Note
that atom numbers or indices start from zero. Thus,
lastatom
= firstatom
+ numatom.
The "Extract-Anonymous"
Atom Vector type is created by the
Extract()
function regardless of whether the source Atom
Vector is mapped or anonymous.
Python
will identify the AtomVect module as a user defined
C Type. If you wish to determine if a module is an
Atom Vector you can first use the built-in function
hasattr
to determine if the CXType
attribute is defined and then test the value of the
attribute against the string
'AtomVector'.
|