17 for i
in range(0, dm.get_number_of_voxels()):
20 nm = IMP.create_temporary_file_name(
"cube",
".mrc")
24 nm = IMP.create_temporary_file_name(
"cube",
".py")
DensityMap * create_density_map(const algebra::GridD< 3, algebra::DenseGridStorageD< 3, float >, float > &grid)
Write geometry to a Python file for Chimera to read.
void write_map(DensityMap *m, std::string filename)
Write a density map to a file.
Basic utilities for handling cryo-electron microscopy 3D density maps.
algebra::BoundingBoxD< 3 > get_bounding_box(const DensityMap *m)
base::Vector< VectorD< D > > get_vertices(const BoundingBoxD< D > &bb)
Return a list of the 8 bounding points for the bounding box.
Output IMP model data in various file formats.