polar_flatten_simulations#

Simulation2D.polar_flatten_simulations(radial_axes=None, azimuthal_axes=None)[source]#

Flattens the simulations into polar coordinates for use in template matching. The resulting arrays are of shape (n_simulations, n_spots) where n_spots is the maximum number of spots in any simulation.

Returns:
r_templates, theta_templates, intensities_templates