extract
Provides basic circular aperture photometry tools for GONet images.
This module includes functionality to extract statistical measurements from circular regions within 2D image arrays (e.g., total and mean counts, standard deviation, and pixel count).
Functions
extract_circle()
: Compute statistics from a circular region of interest in an image.
Classes
extraction_output
: A dataclass representing the result of a circular extraction.
Functions:
- GONet_Wizard.GONet_utils.src.extract.extract_circle(data, x0, y0, radius)[source]
Perform circular aperture photometry on a 2D image array.
- Parameters:
data (
numpy.ndarray
) – 2D array representing the image.x0 (
float
) – X-coordinate of the circle center.y0 (
float
) – Y-coordinate of the circle center.radius (
float
) – Radius of the circular aperture.
- Returns:
Statistical measurements of the pixel values inside the circular aperture.
- Return type: