CircAp

CircAp(positions, r, *, validate=True)

Circular 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.

r : float

Aperture radius in pixels.

validate : bool = True

If False, skip input validation and assume finite, positive geometry and normalized positions. This is intended for expert high-throughput code paths.

Methods

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

bboxes

CircAp.bboxes()

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