image_from_all_atoms
- macromol_voxelize.image_from_all_atoms(atoms: DataFrame, img_params: ImageParams) Image[source]
Create an voxelized representation of the given atoms.
- Parameters:
atoms – See
image_from_atoms().img_params – See
image_from_atoms().
- Returns:
See
image_from_atoms().
This function is the same as
image_from_atoms(), but without the initial pruning of atoms outside the image. This step is generally an important performance optimization, but can be a waste of time if either (i) there aren’t many atoms that fall outside the image or (ii) the atoms were already pruned bydiscard_atoms_outside_image()prior to calling this function.