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 #channels grid for each img_id. Saves plot in ModelComparator.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 from ModelComparator.img_mpps that should be visualised.

  • save_prefix (str) – Plot is saved under {save_prefix}predicted_images_{img_id}.png.

  • kwargs (Any) – Passed to MPPData.get_object_imgs().

Return type

Nothing, plots and saves images.