PPStatistic

class astrodendro.analysis.PPStatistic(stat, metadata=None)

Bases: SpatialBase

Compute properties of structures in a position-position (PP) cube.

Parameters:
structureStructure instance

The structure to compute the statistics for

metadatadict

Key-value pairs of metadata

Attributes Summary

area_exact

The exact area of the structure on the sky.

flux

The integrated flux of the structure, in Jy (note that this does not include any kind of background subtraction, and is just a plain sum of the values in the structure, converted to Jy).

position_angle

The position angle of sky_maj, sky_min in degrees counter-clockwise from the +x axis.

x_cen

The mean position of the structure in the x direction (in pixel coordinates, or in world coordinates if the WCS transformation is available in the meta-data).

y_cen

The mean position of the structure in the y direction (in pixel coordinates, or in world coordinates if the WCS transformation is available in the meta-data).

Attributes Documentation

area_exact

The exact area of the structure on the sky.

flux

The integrated flux of the structure, in Jy (note that this does not include any kind of background subtraction, and is just a plain sum of the values in the structure, converted to Jy).

position_angle

The position angle of sky_maj, sky_min in degrees counter-clockwise from the +x axis.

x_cen

The mean position of the structure in the x direction (in pixel coordinates, or in world coordinates if the WCS transformation is available in the meta-data).

y_cen

The mean position of the structure in the y direction (in pixel coordinates, or in world coordinates if the WCS transformation is available in the meta-data).