5.33. photometry_sep¶
Performs photometry using sep.
- FitsArray.photometry_sep(xs: NUMERICS, ys: NUMERICS, rs: NUMERICS, headers: str | list[str] | None = None, exposure: str | float | int | None = None) pd.DataFrame¶
Performs photometry using
sep.Parameters
xsUnion[float, int, List[Union[float, int]]]x coordinate(s) for the photometry.
ysUnion[float, int, List[Union[float, int]]]y coordinate(s) for the photometry.
rsUnion[float, int, List[Union[float, int]]]Aperture size(s) for the photometry.
headersUnion[str, list[str]], optionalHeader keys to be extracted after performing photometry.
exposureUnion[str, float, int], optionalHeader key that contains the exposure time or a numeric value of exposure time.
Returns
pd.DataFrameA DataFrame containing the photometric data.
Raises
NumberOfElementErrorWhen
xsandyscoordinates do not have the same length.
5.33.1. Example:¶
from myraflib import FitsArray
fa = FitsArray.sample()
phot = fits.photometry_sep([10, 10], [20 , 20], [10, 15, 16])