5 from __future__
import print_function
29 dheader.set_resolution(resolution)
32 dmap.set_particles(ps)
38 print(dmap.get_header().
show(),
"\n")
Strings setup_from_argv(const Strings &argv, std::string description, std::string positional_description, int num_positional)
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 read_pdb(TextInput input, int model, Hierarchy h)
void write_map(DensityMap *m, std::string filename)
Write a density map to a file.
Class for storing model, its restraints, constraints, and particles.
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 in 3D.
Basic utilities for handling cryo-electron microscopy 3D density maps.
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
void show(Hierarchy h, std::ostream &out=std::cout)
Print out a molecular hierarchy.
Select all CA ATOM records.
Functionality for loading, creating, manipulating and scoring atomic structures.