|
IMP Reference Guide
develop.7482b7c7af, 2026/12/05
The Integrative Modeling Platform
|
Restrain particles to be above, below, or inside a planar membrane. More...
Restrain particles to be above, below, or inside a planar membrane.
The membrane is defined to lie on the xy plane with a given z coordinate and thickness, and particles are restrained (by their z coordinates) with a simple sigmoid score.
Public Member Functions | |
| __init__ (self, hier, objects_above=None, objects_inside=None, objects_below=None, center=0.0, thickness=30.0, softness=3.0, plateau=1e-10, resolution=1, weight=1.0, label=None) | |
| Setup the restraint. | |
| create_membrane_density (self, xy_size=50, file_out='membrane_localization.mrc') | |
| Create an MRC density file to visualize the membrane. | |
| IMP.pmi.restraints.basic.MembraneRestraint.__init__ | ( | self, | |
| hier, | |||
| objects_above = None, | |||
| objects_inside = None, | |||
| objects_below = None, | |||
| center = 0.0, | |||
| thickness = 30.0, | |||
| softness = 3.0, | |||
| plateau = 1e-10, | |||
| resolution = 1, | |||
| weight = 1.0, | |||
| label = None ) |
Setup the restraint.
| objects_inside | list or tuples of objects in membrane (e.g. ['p1', (10, 30,'p2')]) |
| objects_above | list or tuples of objects above membrane |
| objects_below | list or tuples of objects below membrane |
| thickness | Thickness of the membrane along the z-axis |
| softness | Softness of the limiter in the sigmoid function |
| plateau | Parameter to set the probability (=1- plateau)) at the plateau phase of the sigmoid |
| weight | Weight of restraint |
| label | A unique label to be used in outputs and particle/restraint names. |
| IMP.pmi.restraints.basic.MembraneRestraint.create_membrane_density | ( | self, | |
| xy_size = 50, | |||
| file_out = 'membrane_localization.mrc' ) |