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.
Vector3Ds get_vertices(const BoundingBoxD< 3 > &bb)
Return a list of the 8 bounding points for the bounding box.
void write_map(DensityMap *m, std::string filename)
See IMP.em for more information.
algebra::BoundingBoxD< 3 > get_bounding_box(const DensityMap *m)
See IMP.display for more information.