24 dheader.set_resolution(resolution)
27 dmap.set_particles(ps)
33 print dmap.get_header().
show(),
"\n"
algebra::BoundingBoxD< 3 > get_bounding_box(const Hierarchy &h)
Get a bounding box for the Hierarchy.
GenericHierarchies get_leaves(Hierarchy mhd)
Get all the leaves of the bit of hierarchy.
void write_map(DensityMap *m, std::string filename)
Class for sampling a density map from particles.
DensityHeader create_density_header(const algebra::BoundingBoxD< 3 > &bb, float spacing)
Create a header from a bounding box 3D.
See IMP.em for more information.
std::string get_example_path(std::string file_name)
Return the path to installed example data for this module.
void show(Hierarchy h, std::ostream &out=std::cout)
Print out a molecular hierarchy.
Select all CA ATOM records.
See IMP.atom for more information.
void read_pdb(base::TextInput input, int model, Hierarchy h)
Class for storing model, its restraints, constraints, and particles.