11if not IMP.IMP_KERNEL_HAS_NUMPY:
12 print(
"IMP was not built with NumPy support.")
25print(m.min(), m.mean(), m.max())
28print(m[m >= 0.1].size)
34print(m.min(), m.mean(), m.max())
DensityMap * read_map(std::string filename, MapReaderWriter *reader)
Read a density map from a file (using the given reader) and return it.
Functionality for loading, creating, manipulating and scoring atomic structures.
Basic functionality that is expected to be used by a wide variety of IMP users.
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 setup_from_argv(int argc, char **argv, std::string description)
Parse the command line flags and return the positional arguments.