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.
The restraints argument is a string or list of strings.
Each string contains a set of dihedral restraint assignment statements,
or a filename containing such statements.
If allowBadRestraints is True, restraints which are invalid to not cause
the program to throw an exception.
The selection argument can be used to apply these restraint to a specific
subset of atoms, possibly in a simulation.Simulation different
than the current Simulation.
If specified, the nef argument should be an object returned by nefTools.readNEF. If there is more than one dihedral restraint table
specified in the NEF record, the desired name must be specified in the
nefRestraintName argument.