Accessing density map data directly using NumPy.
11 if not IMP.IMP_KERNEL_HAS_NUMPY:
12 print(
"IMP was not built with NumPy support.")
15 dmap = IMP.em.read_map(
25 print(m.min(), m.mean(), m.max())
28 print(m[m >= 0.1].size)
34 print(m.min(), m.mean(), m.max())