parmed.tinker.topologyobjects module¶
Contains all of the class objects for the Tinker topology
-
class
parmed.tinker.topologyobjects.AngleBend(atom1, atom2, atom3, k, theteq, fold, type_)[source]¶ Bases:
objectAn angle-bending term
-
class
parmed.tinker.topologyobjects.AngleList[source]¶ Bases:
parmed.tinker.topologyobjects._ParamTypeListMethods
append(thing)Append object to the end of the list.
clear(/)Remove all items from list.
copy(/)Return a shallow copy of the list.
count(value, /)Return number of occurrences of value.
extend(things)Extend list by appending elements from the iterable.
index(value[, start, stop])Return first index of value.
insert(index, object, /)Insert object before index.
pop([index])Remove and return item at index (default last).
remove(value, /)Remove first occurrence of value.
reverse(/)Reverse IN PLACE.
sort(*[, key, reverse])Stable sort IN PLACE.
alias of
AngleBendadd
-
class
parmed.tinker.topologyobjects.Atom(symbol, type_, class_, atomic_number, mass, valence, desc)[source]¶ Bases:
objectAn atom in the system
Methods
add_vdw(radius, epsilon, radius14, …)Adds van der Waals terms to the atom
-
class
parmed.tinker.topologyobjects.AtomList[source]¶ Bases:
parmed.tinker.topologyobjects._ParamTypeListList for Atom instances
Methods
append(thing)Append object to the end of the list.
clear(/)Remove all items from list.
copy(/)Return a shallow copy of the list.
count(value, /)Return number of occurrences of value.
extend(things)Extend list by appending elements from the iterable.
index(value[, start, stop])Return first index of value.
insert(index, object, /)Insert object before index.
pop([index])Remove and return item at index (default last).
remove(value, /)Remove first occurrence of value.
reverse(/)Reverse IN PLACE.
sort(*[, key, reverse])Stable sort IN PLACE.
alias of
Atomadd
-
class
parmed.tinker.topologyobjects.AtomicMultipole(atom, frame, definition, moments)[source]¶ Bases:
objectAtomic multipole parameter
-
class
parmed.tinker.topologyobjects.AtomicMultipoleList[source]¶ Bases:
parmed.tinker.topologyobjects._ParamTypeListMethods
append(thing)Append object to the end of the list.
clear(/)Remove all items from list.
copy(/)Return a shallow copy of the list.
count(value, /)Return number of occurrences of value.
extend(things)Extend list by appending elements from the iterable.
index(value[, start, stop])Return first index of value.
insert(index, object, /)Insert object before index.
pop([index])Remove and return item at index (default last).
remove(value, /)Remove first occurrence of value.
reverse(/)Reverse IN PLACE.
sort(*[, key, reverse])Stable sort IN PLACE.
alias of
AtomicMultipoleadd
-
typeclass¶ alias of
AtomicMultipole
-
-
class
parmed.tinker.topologyobjects.BondList[source]¶ Bases:
parmed.tinker.topologyobjects._ParamTypeListMethods
append(thing)Append object to the end of the list.
clear(/)Remove all items from list.
copy(/)Return a shallow copy of the list.
count(value, /)Return number of occurrences of value.
extend(things)Extend list by appending elements from the iterable.
index(value[, start, stop])Return first index of value.
insert(index, object, /)Insert object before index.
pop([index])Remove and return item at index (default last).
remove(value, /)Remove first occurrence of value.
reverse(/)Reverse IN PLACE.
sort(*[, key, reverse])Stable sort IN PLACE.
alias of
BondStretchadd
-
typeclass¶ alias of
BondStretch
-
-
class
parmed.tinker.topologyobjects.BondStretch(atom1, atom2, k, req)[source]¶ Bases:
objectA bond-stretching term
-
class
parmed.tinker.topologyobjects.DipolePolarizability(atom, alpha, group)[source]¶ Bases:
objectA dipole polarizability parameter
-
class
parmed.tinker.topologyobjects.DipolePolarizabilityList[source]¶ Bases:
parmed.tinker.topologyobjects._ParamTypeListMethods
append(thing)Append object to the end of the list.
clear(/)Remove all items from list.
copy(/)Return a shallow copy of the list.
count(value, /)Return number of occurrences of value.
extend(things)Extend list by appending elements from the iterable.
index(value[, start, stop])Return first index of value.
insert(index, object, /)Insert object before index.
pop([index])Remove and return item at index (default last).
remove(value, /)Remove first occurrence of value.
reverse(/)Reverse IN PLACE.
sort(*[, key, reverse])Stable sort IN PLACE.
alias of
DipolePolarizabilityadd
-
typeclass¶ alias of
DipolePolarizability
-
-
class
parmed.tinker.topologyobjects.OutOfPlaneBend(atom1, atom2, atom3, atom4, k)[source]¶ Bases:
objectAn out-of-plane bending term
-
class
parmed.tinker.topologyobjects.OutOfPlaneBendList[source]¶ Bases:
parmed.tinker.topologyobjects._ParamTypeListMethods
append(thing)Append object to the end of the list.
clear(/)Remove all items from list.
copy(/)Return a shallow copy of the list.
count(value, /)Return number of occurrences of value.
extend(things)Extend list by appending elements from the iterable.
index(value[, start, stop])Return first index of value.
insert(index, object, /)Insert object before index.
pop([index])Remove and return item at index (default last).
remove(value, /)Remove first occurrence of value.
reverse(/)Reverse IN PLACE.
sort(*[, key, reverse])Stable sort IN PLACE.
alias of
OutOfPlaneBendadd
-
typeclass¶ alias of
OutOfPlaneBend
-
-
class
parmed.tinker.topologyobjects.OutOfPlaneDist(atom1, atom2, atom3, atom4, k)[source]¶ Bases:
parmed.tinker.topologyobjects.OutOfPlaneBendAn out-of-plane distance (functionally equivalent to OOP Bend
-
class
parmed.tinker.topologyobjects.OutOfPlaneDistList[source]¶ Bases:
parmed.tinker.topologyobjects._ParamTypeListMethods
append(thing)Append object to the end of the list.
clear(/)Remove all items from list.
copy(/)Return a shallow copy of the list.
count(value, /)Return number of occurrences of value.
extend(things)Extend list by appending elements from the iterable.
index(value[, start, stop])Return first index of value.
insert(index, object, /)Insert object before index.
pop([index])Remove and return item at index (default last).
remove(value, /)Remove first occurrence of value.
reverse(/)Reverse IN PLACE.
sort(*[, key, reverse])Stable sort IN PLACE.
alias of
OutOfPlaneDistadd
-
typeclass¶ alias of
OutOfPlaneDist
-
-
class
parmed.tinker.topologyobjects.PiTorsion(atom1, atom2, amplitude)[source]¶ Bases:
objectA Pi-Orbital Torsion parameter
-
class
parmed.tinker.topologyobjects.PiTorsionList[source]¶ Bases:
parmed.tinker.topologyobjects._ParamTypeListMethods
append(thing)Append object to the end of the list.
clear(/)Remove all items from list.
copy(/)Return a shallow copy of the list.
count(value, /)Return number of occurrences of value.
extend(things)Extend list by appending elements from the iterable.
index(value[, start, stop])Return first index of value.
insert(index, object, /)Insert object before index.
pop([index])Remove and return item at index (default last).
remove(value, /)Remove first occurrence of value.
reverse(/)Reverse IN PLACE.
sort(*[, key, reverse])Stable sort IN PLACE.
alias of
PiTorsionadd
-
class
parmed.tinker.topologyobjects.StretchBend(atom1, atom2, atom3, k, theteq, r1eq, r2eq)[source]¶ Bases:
objectA stretch-bending term
-
class
parmed.tinker.topologyobjects.StretchBendList[source]¶ Bases:
parmed.tinker.topologyobjects._ParamTypeListMethods
append(thing)Append object to the end of the list.
clear(/)Remove all items from list.
copy(/)Return a shallow copy of the list.
count(value, /)Return number of occurrences of value.
extend(things)Extend list by appending elements from the iterable.
index(value[, start, stop])Return first index of value.
insert(index, object, /)Insert object before index.
pop([index])Remove and return item at index (default last).
remove(value, /)Remove first occurrence of value.
reverse(/)Reverse IN PLACE.
sort(*[, key, reverse])Stable sort IN PLACE.
alias of
StretchBendadd
-
typeclass¶ alias of
StretchBend
-
-
class
parmed.tinker.topologyobjects.TorsionAngle(atom1, atom2, atom3, atom4, args)[source]¶ Bases:
objectTorsional Angle parameter
-
class
parmed.tinker.topologyobjects.TorsionAngleList[source]¶ Bases:
parmed.tinker.topologyobjects._ParamTypeListMethods
append(thing)Append object to the end of the list.
clear(/)Remove all items from list.
copy(/)Return a shallow copy of the list.
count(value, /)Return number of occurrences of value.
extend(things)Extend list by appending elements from the iterable.
index(value[, start, stop])Return first index of value.
insert(index, object, /)Insert object before index.
pop([index])Remove and return item at index (default last).
remove(value, /)Remove first occurrence of value.
reverse(/)Reverse IN PLACE.
sort(*[, key, reverse])Stable sort IN PLACE.
alias of
TorsionAngleadd
-
typeclass¶ alias of
TorsionAngle
-
-
class
parmed.tinker.topologyobjects.TorsionTorsion(atom1, atom2, atom3, atom4, atom5, spline1, spline2)[source]¶ Bases:
objectA coupled-torsion parameter (like CMAP)
-
class
parmed.tinker.topologyobjects.TorsionTorsionGrid[source]¶ Bases:
collections.OrderedDictThe interpolation grid of a coupled-torsion correction map. Every unique grid is cached and if a duplicate grid is instantiated, a reference to the original grid is returned. As a result, all unique TorsionTorsionGrid instances are singletons and should be compared for equality with “is”
Methods
clear()copy()fromkeys(/, iterable[, value])Create a new ordered dictionary with keys from iterable and values set to value.
get(key[, default])Return the value for key if key is in the dictionary, else default.
items()keys()move_to_end(/, key[, last])Move an existing element to the end (or beginning if last is false).
pop(k[,d])value.
popitem(/[, last])Remove and return a (key, value) pair from the dictionary.
setdefault(/, key[, default])Insert key with a value of default if key is not in the dictionary.
update([E, ]**F)If E is present and has a .keys() method, then does: for k in E: D[k] = E[k] If E is present and lacks a .keys() method, then does: for k, v in E: D[k] = v In either case, this is followed by: for k in F: D[k] = F[k]
values()new
-
class
parmed.tinker.topologyobjects.TorsionTorsionList[source]¶ Bases:
parmed.tinker.topologyobjects._ParamTypeListMethods
append(thing)Append object to the end of the list.
clear(/)Remove all items from list.
copy(/)Return a shallow copy of the list.
count(value, /)Return number of occurrences of value.
extend(things)Extend list by appending elements from the iterable.
index(value[, start, stop])Return first index of value.
insert(index, object, /)Insert object before index.
pop([index])Remove and return item at index (default last).
remove(value, /)Remove first occurrence of value.
reverse(/)Reverse IN PLACE.
sort(*[, key, reverse])Stable sort IN PLACE.
alias of
TorsionTorsionadd
-
typeclass¶ alias of
TorsionTorsion
-
-
class
parmed.tinker.topologyobjects.UreyBradley(atom1, atom2, k, req)[source]¶ Bases:
parmed.tinker.topologyobjects.BondStretchA urey-bradley term – functionally identical to a bond-stretch
-
class
parmed.tinker.topologyobjects.UreyBradleyList[source]¶ Bases:
parmed.tinker.topologyobjects._ParamTypeListMethods
append(thing)Append object to the end of the list.
clear(/)Remove all items from list.
copy(/)Return a shallow copy of the list.
count(value, /)Return number of occurrences of value.
extend(things)Extend list by appending elements from the iterable.
index(value[, start, stop])Return first index of value.
insert(index, object, /)Insert object before index.
pop([index])Remove and return item at index (default last).
remove(value, /)Remove first occurrence of value.
reverse(/)Reverse IN PLACE.
sort(*[, key, reverse])Stable sort IN PLACE.
alias of
UreyBradleyadd
-
typeclass¶ alias of
UreyBradley
-