IMP logo
IMP Reference Guide  develop.7482b7c7af, 2026/12/05
The Integrative Modeling Platform
plot_AVDecorator Namespace Reference

Detailed Description

Accessible volume decorator
===========================
IMP particles can be decorated with accessible volume (AV)
decorators to compute the sterically allowed volume of a
label around its attachment site, i.e., the decorated IMP
particle.

The AV decorator uses the Dijkstra's algorithm to compute
all path from the attachment site to a set of grid points
around the attachment site. The AV decorator uses the
``IMP.bff.PathMap`` class for computing the AV. The occupied
volume of leaves in a molecular hierarchy serve as obstacles
in the path search.

Variables

str atom_name = "CB"
 av1 = IMP.bff.AV(m, av_p)
 av2 = IMP.bff.AV(av_p2)
 av_map = av1.get_map()
 av_p = IMP.Particle(m)
 av_p2 = IMP.Particle(m)
dict av_parameter
 av_xyz = IMP.core.XYZ(av1)
float bounds = 0.01, 20
 distance_fret
list distance_types
float forster_radius = 52.0
 fret_efficiency
 hier = IMP.atom.read_pdb(str(pdb_fn), m)
 m = IMP.Model()
 mean_inter_dye_distance = IMP.bff.av_distance(av1, av2, distance_type=IMP.bff.DYE_PAIR_DISTANCE_MEAN)
 n_bins
int n_samples = 20000
 p = sel.get_selected_particles()[0]
 p_rda = IMP.bff.av_distance_distribution(av1, av2, rda, n_samples=n_samples)
str pdb_fn = pathlib.Path(IMP.bff.get_example_path('structure')) / "T4L/3GUN.pdb"
list pm_features
 rda = np.linspace(rda_start, rda_stop, n_bins)
 rda_start
 rda_stop
int residue_index = 132
 sel = IMP.atom.Selection(hier)
 source = sel.get_selected_particles()[0]
 v = IMP.bff.av_distance(av1, av2)

Variable Documentation

◆ atom_name

str plot_AVDecorator.atom_name = "CB"

Definition at line 44 of file plot_AVDecorator.py.

◆ av1

plot_AVDecorator.av1 = IMP.bff.AV(m, av_p)

Definition at line 59 of file plot_AVDecorator.py.

◆ av2

plot_AVDecorator.av2 = IMP.bff.AV(av_p2)

Definition at line 136 of file plot_AVDecorator.py.

◆ av_map

plot_AVDecorator.av_map = av1.get_map()

Definition at line 77 of file plot_AVDecorator.py.

◆ av_p

plot_AVDecorator.av_p = IMP.Particle(m)

Definition at line 39 of file plot_AVDecorator.py.

◆ av_p2

plot_AVDecorator.av_p2 = IMP.Particle(m)

Definition at line 134 of file plot_AVDecorator.py.

◆ av_parameter

dict plot_AVDecorator.av_parameter

Definition at line 49 of file plot_AVDecorator.py.

◆ av_xyz

plot_AVDecorator.av_xyz = IMP.core.XYZ(av1)

Definition at line 64 of file plot_AVDecorator.py.

◆ bounds

float plot_AVDecorator.bounds = 0.01, 20

Definition at line 78 of file plot_AVDecorator.py.

◆ distance_fret

plot_AVDecorator.distance_fret

Definition at line 160 of file plot_AVDecorator.py.

◆ distance_types

list plot_AVDecorator.distance_types

Definition at line 143 of file plot_AVDecorator.py.

◆ forster_radius

float plot_AVDecorator.forster_radius = 52.0

Definition at line 152 of file plot_AVDecorator.py.

◆ fret_efficiency

plot_AVDecorator.fret_efficiency

Definition at line 154 of file plot_AVDecorator.py.

◆ hier

plot_AVDecorator.hier = IMP.atom.read_pdb(str(pdb_fn), m)

Definition at line 31 of file plot_AVDecorator.py.

◆ m

plot_AVDecorator.m = IMP.Model()

Definition at line 29 of file plot_AVDecorator.py.

◆ mean_inter_dye_distance

plot_AVDecorator.mean_inter_dye_distance = IMP.bff.av_distance(av1, av2, distance_type=IMP.bff.DYE_PAIR_DISTANCE_MEAN)

Definition at line 166 of file plot_AVDecorator.py.

◆ n_bins

plot_AVDecorator.n_bins

Definition at line 174 of file plot_AVDecorator.py.

◆ n_samples

int n_samples = 20000

Definition at line 153 of file plot_AVDecorator.py.

◆ p

plot_AVDecorator.p = sel.get_selected_particles()[0]

Definition at line 133 of file plot_AVDecorator.py.

◆ p_rda

plot_AVDecorator.p_rda = IMP.bff.av_distance_distribution(av1, av2, rda, n_samples=n_samples)

Definition at line 177 of file plot_AVDecorator.py.

◆ pdb_fn

str plot_AVDecorator.pdb_fn = pathlib.Path(IMP.bff.get_example_path('structure')) / "T4L/3GUN.pdb"

Definition at line 30 of file plot_AVDecorator.py.

◆ pm_features

list plot_AVDecorator.pm_features

Definition at line 84 of file plot_AVDecorator.py.

◆ rda

plot_AVDecorator.rda = np.linspace(rda_start, rda_stop, n_bins)

Definition at line 176 of file plot_AVDecorator.py.

◆ rda_start

plot_AVDecorator.rda_start

Definition at line 174 of file plot_AVDecorator.py.

◆ rda_stop

plot_AVDecorator.rda_stop

Definition at line 174 of file plot_AVDecorator.py.

◆ residue_index

int residue_index = 132

Definition at line 43 of file plot_AVDecorator.py.

◆ sel

plot_AVDecorator.sel = IMP.atom.Selection(hier)

Definition at line 45 of file plot_AVDecorator.py.

◆ source

plot_AVDecorator.source = sel.get_selected_particles()[0]

Definition at line 48 of file plot_AVDecorator.py.

◆ v

plot_AVDecorator.v = IMP.bff.av_distance(av1, av2)

Definition at line 137 of file plot_AVDecorator.py.