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_activeenergy restraints will be active.- __init__(rest_list, num_active)[source]
- Initialize a RestraintGroup - Parameters
- rest_list ( - List[- SelectableRestraint]) – list of- SelectableRestraintin this group
- num_active ( - int) – number active each timestep
 
 
 - Methods - __init__(rest_list, num_active)- Initialize a RestraintGroup - Attributes - Number of active restraints - Restraints in the group - property num_active: int
- Number of active restraints 
 - property restraints: List[SelectableRestraint]
- Restraints in the group