9 #ifndef IMPEM_CONVERTERS_H
10 #define IMPEM_CONVERTERS_H
12 #include <IMP/em/em_config.h>
64 const kernel::ParticlesTemp &ps,
Float resolution,
Float apix,
86 ps, resolution, apix, weight_key, sig_cutoff, BINARIZED_SPHERE));
104 calculate_intersection_score(
const SurfaceShellDensityMap *d1,
105 const SurfaceShellDensityMap *d2);
static FloatKey get_mass_key()
Import IMP/kernel/base_types.h in the namespace.
algebra::Vector3Ds density2vectors(DensityMap *dmap, Float threshold)
Converts a density grid to a set of paritlces.
SurfaceShellDensityMap * particles2surface(const kernel::ParticlesTemp &ps, Float apix, const FloatKey &weight_key=IMP::atom::Mass::get_mass_key())
Resample a set of particles into a density grid.
SampledDensityMap * particles2density(const kernel::ParticlesTemp &ps, Float resolution, Float apix, int sig_cutoff=3, const FloatKey &weight_key=IMP::atom::Mass::get_mass_key())
Resample a set of particles into a density grid.
A smart pointer to a reference counted object.
Represent a molecule as shells of distance from the surface.
Import IMP/kernel/macros.h in the namespace.
O * release()
Relinquish control of the raw pointer stored in the Pointer.
Class for handling density maps.
Class for sampling a density map from particles.
base::Vector< VectorD< 3 > > Vector3Ds
Classes to handle individual model particles. (Note that implementation of inline functions in in int...
double Float
Basic floating-point value (could be float, double...)
kernel::Particles density2particles(DensityMap *dmap, Float threshold, kernel::Model *m, int step=1)
Converts a density grid to a set of paritlces.
SampledDensityMap * particles2binarized_density(const kernel::ParticlesTemp &ps, Float resolution, Float apix, int sig_cutoff=3, const FloatKey &weight_key=IMP::atom::Mass::get_mass_key())
Key< 0, true > FloatKey
The type used to identify float attributes in the Particles.