tomodrgn.analysis.plot_label_count_distribution#

plot_label_count_distribution(ptcl_star: TiltSeriesStarfile | TomoParticlesStarfile, class_labels: ndarray) None[source]#

Plot the distribution of class labels per tomogram or micrograph as a heatmap.

Parameters:
  • ptcl_star – image series star file describing the same number of particles as class_labels

  • class_labels – array of class labels, shape (nptcls, 1)

Returns:

None