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:
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 by discard_atoms_outside_image() prior to calling this function.