pca#

radionets.evaluation.jet_angle.pca(image)[source]#

Compute the major components of an image. The Image is treated as a distribution.

Parameters:
imageImage or 2DArray (N, M)

Image to be used as distribution

Returns:
cog_x

X-position of the distributions center of gravity

cog_y

Y-position of the distributions center of gravity

psi

Angle between first mjor component and x-axis