EllipAp

EllipAp(positions, a, b, theta=0.0, *, validate=True)

Elliptical aperture in pixel coordinates.

Parameters

positions : tuple or array - like

Aperture center or centers as (x, y) pixel coordinates. Multiple centers are accepted as an (N, 2) array-like object.

a : float

Semimajor and semiminor axis lengths in pixels.

b : float

Semimajor and semiminor axis lengths in pixels.

theta : float = 0.0

Rotation angle in radians, measured counterclockwise from the positive x axis.

validate : bool = True

If False, skip input validation and assume finite, positive geometry and normalized positions.

Methods

Name Description
bboxes Override the default python for-loop with a Rust-accelerated batch function.

bboxes

EllipAp.bboxes()

Override the default python for-loop with a Rust-accelerated batch function.