PointParticle#

class deeptrack.scatterers.PointParticle(**kwargs)#

Bases: Scatterer

Generates a point particle

A point particle is approximated by the size of a pixel. For subpixel positioning, the position is interpolated linearly.

Parameters#

position: array_like of length 2 or 3

The position of the particle. Third index is optional, and represents the position in the direction normal to the camera plane.

z: float

The position in the direction normal to the camera plane. Used if position is of length 2.

value: float

A default value of the characteristic of the particle. Used by optics unless a more direct property is set: (eg. refractive_index for Brightfield and intensity for Fluorescence).

Methods Summary

get(image, **kwarg)

Abstract method to initialize the point scatterer

Methods Documentation

get(image: Image, **kwarg) Tuple[float, ...] | List[float] | ndarray#

Abstract method to initialize the point scatterer