9 #ifndef IMPEM_SAMPLED_DENSITY_MAP_H
10 #define IMPEM_SAMPLED_DENSITY_MAP_H
12 #include <IMP/em/em_config.h>
26 GAUSSIAN,BINARIZED_SPHERE,SPHERE
44 KernelType kt=GAUSSIAN);
59 int sig_cuttoff=3, KernelType kt=GAUSSIAN);
70 virtual void resample();
82 void project(
const ParticlesTemp &ps,
83 int x_margin,
int y_margin,
int z_margin,
85 FloatKey mass_key=atom::Mass::get_mass_key());
88 void set_particles(
const ParticlesTemp &ps,
91 #if !defined(DOXYGEN) && !defined(SWIG)
95 inline const core::XYZRs & get_xyzr_particles()
const {
return xyzr_;}
97 inline const Particles & get_sampled_particles()
const {
return ps_;}
98 inline FloatKey get_weight_key()
const {
return weight_key_;}
101 float get_minimum_resampled_value();
110 calculate_particles_bounding_box(
const Particles &ps);
115 void determine_grid_size(emreal resolution, emreal voxel_size,
int sig_cutoff);
118 emreal maxradius, emreal resolution, emreal voxel_size,
121 void set_neighbor_mask(
float radius);