meld.system.restraints.RestraintGroup

class meld.system.restraints.RestraintGroup(rest_list, num_active)[source]

Bases: object

A group of selectable restraints

Each timestep the lowest num_active energy restraints will be active.

__init__(rest_list, num_active)[source]

Initialize a RestraintGroup

Parameters

Methods

__init__(rest_list, num_active)

Initialize a RestraintGroup

Attributes

num_active

Number of active restraints

restraints

Restraints in the group

property num_active: int

Number of active restraints

property restraints: List[SelectableRestraint]

Restraints in the group