An official website of the United States government
Here’s how you know
Official websites use .gov
A .gov website belongs to an official government organization in the United States.
Secure .gov websites use HTTPS
A lock (
)or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.
create an EnsWeights object with the given name to allow optimization of
ensemble weights for specified potential terms.
The optional members argument should be a list of ensemble indices to
optimize.
The baseSize and derivedSpecs arguments are used to specify an
interrelationship between ensemble weights. If baseSize is omitted,
derivedSpecs specifies a set weights dependent on the
previous len(members)-len(derivedSpecs) weights. If baseSize is specified,
the number of independent weights is baseSize, and derivedSpecs should be of
len(members).
derivedSpecs is a list of tuples with three arguments each.The
populations of the dependent (derived) w_k is
w_k = A_k + B_k * w_b + w_b^T * C_k * w_b
where w_b are base weights, A_k is a constant, B_k a vector and C_k a
matrix. The parameters A,B and C are specified by the derivedSpecs entry as a
sequence of three values (A,B,C). The specifications for B and C are in sparse
notation by index of nonzer entries, so the second gives the nonzero members
of the B vector in the equation above in the form [index, value]. The third
entry gives the nonzero values of the C matrix in the form
[index1, index2, value].
configure the given ivm.IVM object's topology setup using the
freedom string for each EnsWeight in list.
This function should be called prior to ivm.IVM.autoTorsion() or protocol.torsionTopology()
The freedom specifier should be one of the following keywords:
fix
bend
ignore
if list is not specified, then pseudoatoms associated with
all registered EnsWeights objects are configured.