IMP  2.3.1
The Integrative Modeling Platform
IMP.pmi.analysis.GetModelDensity Class Reference

A class to compute mean density maps from structures Keeps a dictionary of density maps, keys are in the custom ranges. More...

Inherits object.

Detailed Description

A class to 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.

Parameters
custom_rangesRequired. It's a dictionary, keys are the density component names, values are selection tuples e.g. {'kin28':[['kin28',1,-1]], 'density_name_1' :[('ccl1')], 'density_name_2' :[(1,142,'tfb3d1'),(143,700,'tfb3d2')],
representationPMI representation, for doing selections. not needed if you only pass hierarchies
voxelThe voxel size for the output map (lower is slower)
Note
This class is only available in Python.

Definition at line 922 of file pmi/Analysis.py.

Public Member Functions

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

Member Function Documentation

def IMP.pmi.analysis.GetModelDensity.add_subunits_density (   self,
  hierarchy = None 
)

Add a frame to the densities.

Parameters
hierarchyOptionally read the hierarchy from somewhere. If not passed, will just read the representation.

Definition at line 945 of file pmi/Analysis.py.

def IMP.pmi.analysis.GetModelDensity.get_density (   self,
  name 
)

Get the current density for some component name.

Definition at line 1015 of file pmi/Analysis.py.


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