DESCRIPTION
Render the image contained in the given file.
USAGE
load_voxels img_path [, resolution_A [, channel [, img_name [, outline
[, outline_name [, color_scheme [, scale_alpha [, batch_index]]]]]]]
ARGUMENTS
img_path = string: The path to the image file. To create an image file,
call `numpy.save(path, image)` on the image made by `image_from_atoms()`.
resolution_A = float: The size of each voxel, in Angstroms. {default: 1}
channel = int: The channel to render. By default, all channels are
rendered.
img_name = string: The name to use for the image object that will be
created by this command. The default is the "stem" of the image path.
outline = bool: Whether to render an outline of the image, "yes" or "no".
{default: no}
outline_name = string: The name to use for the outline object that will be
created by this command, if the `outline` option is enabled. {default: outline}
color_scheme = string: The colors to use for each channel. The default is
'CNOPS', which uses the carbon color for the first channel, nitrogen color
for the second channel, etc. If there are more than 5 channels, the
remaining channels will all be white. You can also provide a colon-
separated list of pymol colors.
scale_alpha = bool: If true, scale the image so that the maximum voxel has
a value of 1.
batch_index = int: Which image to render (indexing from 0), if the given
image path contains multiple images.
EXAMPLES
load_voxels path/to/image.npy