| 
    IMP Reference Guide
    2.23.0
    
   The Integrative Modeling Platform 
   | 
 
Utility functions to handle sampling. More...
Utility functions to handle sampling.
Functions | |
| def | create_sampling_grid_2d | 
| Creates a grid of positions (Vector3Ds), centered at 0.  More... | |
| def | create_sampling_grid_3d | 
| Creates a grid of positions (Vector3Ds), centered at 0.  More... | |
| def | get_orientations_nearby | 
| Rotations nearby a given one.  More... | |
| def IMP.EMageFit.sampling.create_sampling_grid_2d | ( | diameter, | |
| n_axis_points | |||
| ) | 
Creates a grid of positions (Vector3Ds), centered at 0.
The shape of the grid is a circle with diameter given by the parameter. n_axis_points is the number of points along an axis: The axis X Y will contain n_axis_points, equispaced. The other regions of space will contain only the points allowed by the size of the circle.
Definition at line 47 of file sampling.py.
| def IMP.EMageFit.sampling.create_sampling_grid_3d | ( | diameter, | |
| n_axis_points | |||
| ) | 
Creates a grid of positions (Vector3Ds), centered at 0.
| diameter | The shape of the grid is a sphere with this diameter. | 
| n_axis_points | Number of points used along an axis for the grid. The axis X Y and Z will contain n_axis_points, equispaced. The other regions of space will contain only the points allowed by the size of the sphere. | 
Definition at line 23 of file sampling.py.
| def IMP.EMageFit.sampling.get_orientations_nearby | ( | rotation, | |
| n, | |||
| f | |||
| ) | 
Rotations nearby a given one.
They are got interpolating with the rotations of the uniform coverage. The parameter f (0 <= f <= 1) must be close to 0 to get orientations that are close to the given orientation
Definition at line 72 of file sampling.py.