ddm.simulation.generate_frame#
- ddm.simulation.generate_frame(coords: ndarray, window: Tuple[int, int] = (512, 512)) ndarray [source]#
Create microscopy image from tracks at single timepoint
- Parameters:
coords (
np.array
) – coordinates of particleswindow (
Tuple[int
,int]
, optional) – size of the simulated image in pixels, by default (512, 512)
- Returns:
2D array of microscope image with particles
- Return type:
np.array