RegionProxy#

class lsst.daf.butler.queries.expression_factory.RegionProxy(expression: Annotated[IntColumnLiteral | StringColumnLiteral | FloatColumnLiteral | HashColumnLiteral | UUIDColumnLiteral | DateTimeColumnLiteral | TimespanColumnLiteral | RegionColumnLiteral | DimensionKeyReference | DimensionFieldReference | DatasetFieldReference | UnaryExpression | BinaryExpression, FieldInfo(annotation=NoneType, required=True, discriminator='expression_type')])#

Bases: ExpressionProxy

An ExpressionProxy specialized for region columns and literals.

Parameters#

expressiontree.ColumnExpression

Expression that backs this proxy.

Methods Summary

overlaps(other)

Return a boolean expression representing an overlap test between this region and another.

Methods Documentation

overlaps(other: RegionProxy | Region) Predicate#

Return a boolean expression representing an overlap test between this region and another.

Parameters#

otherRegionProxy or Region

Expression or literal to compare to.

Returns#

predicatetree.Predicate

Boolean expression object.