plot_predicted_images
- ModelComparator.plot_predicted_images(exp_names=None, channels=None, img_ids=None, save_prefix='', **kwargs)[source]
Plot reconstructed cell images.
Visualises a
#exp_names x #channelsgrid for eachimg_id. Saves plot inModelComparator.save_dir.- Parameters
exp_names (
Optional[List[str]]) – Compare only a subset of experiments.channels (
Optional[List[str]]) – Channels that should be visualised. If None, all channels are plotted.img_ids (
Optional[Iterable[int]]) – Cell images fromModelComparator.img_mppsthat should be visualised.save_prefix (
str) – Plot is saved under {save_prefix}predicted_images_{img_id}.png.kwargs (
Any) – Passed toMPPData.get_object_imgs().
- Return type
Nothing, plots and saves images.