check_bounds_contains_broadcasting#

lsst.images.tests.check_bounds_contains_broadcasting(bounds)#

Verify that contains accepts array-like inputs.

Uses the scalar overload as the reference and checks that 1-D arrays, list inputs, mixed scalar-plus-array inputs, 2-D broadcast inputs, and XY / YX positional-argument forms all produce results consistent with calling the scalar overload on each (x, y) pair individually.

Parameters:

bounds (Bounds) – The Bounds implementation to exercise.

Return type:

None

This page was last modified on .