This makes restraints enforcing an extended β-strand conformation for the residue segment specified by residues (which can be created using the Model.residue_range() function). This is achieved by applying Φ,Ψ binormal restraints only. These binormal restraints force the mainchain conformation into class “B”, except for the Pro residues which are restrained to class “P” [Šali & Blundell, 1993].
All of the restraints have the physical.phi_psi_dihedral physical restraint type, so can be strengthened or weakened by creating a physical.Values() object (see also Section 2.2.2).
In many cases (e.g., most comparative modeling runs) you will already have binormal restraints active (which will conflict with strand restraints), so it is recommended that you first use Restraints.unpick() followed by Restraints.condense() to remove these.
To actually add the restraints, pass the new object to Restraints.add(). See Section 2.2.11 for an example.