The Scientific Python specific data object.
|
|
tuple consisting of the atom number (int), atom name (str), element
name (str), and atomic position (Numeric array of len 3)
|
|
(Scientific Python PDB object, str, str)
|
__residue_loop(self,
mol,
sel_obj=None)
Generator function for looping over all residues in the Scientific
PDB data objects. |
source code
|
|
tuple consisting of optional molecule name (str), residue number
(int), residue name (str), atom number (int), atom name(str), element
name (str), and atomic position (array of len 3).
|
atom_loop(self,
atom_id=None,
str_id=None,
model_num=None,
model_num_flag=False,
mol_name_flag=False,
res_num_flag=False,
res_name_flag=False,
atom_num_flag=False,
atom_name_flag=False,
element_flag=False,
pos_flag=False,
ave=False)
Generator function for looping over all atoms in the Scientific
Python data objects. |
source code
|
|
tuple consisting of the atom number (int), atom name (str), element
name (str), and atomic positions for each model (list of numpy
arrays)
|
attached_atom(self,
atom_id=None,
attached_atom=None,
model=None)
Find the atom corresponding to 'attached_atom' which is bonded to the
atom of 'atom_id'. |
source code
|
|
|
|
list of numpy arrays
|
bond_vectors(self,
attached_atom=None,
model_num=None,
mol_name=None,
res_num=None,
res_name=None,
spin_num=None,
spin_name=None,
return_name=False,
return_warnings=False)
Find the bond vectors between the atoms of 'attached_atom' and
'atom_id'. |
source code
|
|
bool
|
load_pdb(self,
file_path,
read_mol=None,
set_mol_name=None,
read_model=None,
set_model_num=None,
verbosity=False)
Function for loading the structures from the PDB file. |
source code
|
|
Inherited from api_base.Base_struct_API :
add_atom ,
add_model ,
add_molecule ,
connect_atom ,
delete ,
empty ,
from_xml ,
get_model ,
get_molecule ,
load_xyz ,
model_loop ,
num_models ,
num_molecules ,
pack_structs ,
rotate ,
target_mol_name ,
to_xml ,
translate ,
validate ,
validate_models ,
write_pdb
|