IMP logo
IMP Reference Guide  2.20.1
The Integrative Modeling Platform
IMP.sampcon.precision_rmsd.GetModelDensity Class Reference

Compute mean density maps from structures. More...

Inherits object.

Detailed Description

Compute mean density maps from structures.

Keeps a dictionary of density maps, keys are in the custom ranges. When you call add_subunits_density, it adds particle coordinates to the existing density maps.

Note
This class is only available in Python.

Definition at line 81 of file precision_rmsd.py.

Public Member Functions

def __init__
 Constructor. More...
 
def add_subunits_density
 Add a frame to the densities. More...
 
def get_density
 Get the current density for some component name. More...
 

Constructor & Destructor Documentation

def IMP.sampcon.precision_rmsd.GetModelDensity.__init__ (   self,
  custom_ranges = None,
  resolution = 20.0,
  voxel = 5.0,
  bead_names = None 
)

Constructor.

Parameters
listof particles decorated with mass, radius, and XYZ
resolutionThe MRC resolution of the output map (in Angstrom unit)
voxelThe voxel size for the output map (lower is slower)

Definition at line 88 of file precision_rmsd.py.

Member Function Documentation

def IMP.sampcon.precision_rmsd.GetModelDensity.add_subunits_density (   self,
  ps 
)

Add a frame to the densities.

Parameters
psList of particles decorated with XYZR and Mass.

Definition at line 180 of file precision_rmsd.py.

def IMP.sampcon.precision_rmsd.GetModelDensity.get_density (   self,
  name 
)

Get the current density for some component name.

Definition at line 205 of file precision_rmsd.py.


The documentation for this class was generated from the following file: