#include "py_commands.h"#include "numpy/ndarrayobject.h"#include "AtomSel.h"#include "VMDApp.h"#include "MoleculeList.h"Go to the source code of this file.
Functions | |
| PyObject * | timestep (PyObject *self, PyObject *args, PyObject *kwds) |
| PyObject * | velocities (PyObject *self, PyObject *args, PyObject *kwds) |
| PyObject * | atomselect (PyObject *self, PyObject *args) |
| void | initvmdnumpy () |
Variables | |
| char | timestep_doc [] |
| char | velocities_doc [] |
| PyMethodDef | Methods [] |
|
||||||||||||
|
Definition at line 84 of file py_numeric.C. References VMDApp::atomSelParser, AtomSel::change, get_vmdapp, BaseMolecule::id, MoleculeList::mol_from_id, VMDApp::moleculeList, BaseMolecule::nAtoms, AtomSel::NO_PARSE, NULL, AtomSel::on, and AtomSel::which_frame. |
|
|
Definition at line 123 of file py_numeric.C. References Methods. |
|
||||||||||||||||
|
Definition at line 41 of file py_numeric.C. References get_vmdapp, NULL, Timestep::num, parse_timestep, and Timestep::pos. |
|
||||||||||||||||
|
Definition at line 62 of file py_numeric.C. References get_vmdapp, NULL, Timestep::num, parse_timestep, and Timestep::vel. |
|
|
Initial value: {
{(char *)"timestep", (PyCFunction)timestep, METH_VARARGS | METH_KEYWORDS, timestep_doc},
{(char *)"positions", (PyCFunction)timestep, METH_VARARGS | METH_KEYWORDS, timestep_doc},
{(char *)"velocities", (PyCFunction)velocities, METH_VARARGS | METH_KEYWORDS, velocities_doc},
{(char *)"atomselect", atomselect, METH_VARARGS, (char *)"Create atom selection flags"},
{NULL, NULL}
}Definition at line 115 of file py_numeric.C. Referenced by initvmdnumpy. |
|
|
Initial value: "timestep(molid = -1, frame = -1) -> NumPy (N x 3) float32 array\n" "Returns zero-copy reference to atom coordinates. molid defaults to\n" "top molecule; frame defaults to current frame. Array has shape\n" "N x 3 where N is the number of atoms in the molecule." Definition at line 36 of file py_numeric.C. |
|
|
Initial value: "velocities(molid = -1, frame = -1) -> NumPy (N x 3) float32 array\n" "Returns zero-copy reference to atom velocities. molid defaults to\n" "top molecule; frame defaults to current frame. Array has shape\n" "N x 3 where N is the number of atoms in the molecule. If timestep\n" "holds no velocities, None is returned." Definition at line 56 of file py_numeric.C. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002