luv_finder.kernel

Spatial collapse of one window’s visibilities onto trial positions and source shapes, in JAX.

Module Attributes

COLLAPSE_ARRAYS

The Chunk arrays _collapse() reads, in its argument order.

DATA_POWERS

Powers (i, j) of u^i v^j in the data moments (degree <= 2) and the weight moments (degree <= 4).

Functions

default_cores()

limit_cores([cores])

on_device(chunk)

chunk with the arrays _collapse() reads held by JAX in float64.

point_moments(chunk, dra, ddec, cov)

_moments() of one window at one position (arcsec, sky frame) and sky covariance (arcsec^2).

luv_finder.kernel.COLLAPSE_ARRAYS = ('u', 'v', 'X', 'w', 'freq')

The Chunk arrays _collapse() reads, in its argument order.

luv_finder.kernel.DATA_POWERS = ((0, 0), (1, 0), (0, 1), (2, 0), (1, 1), (0, 2))

Powers (i, j) of u^i v^j in the data moments (degree <= 2) and the weight moments (degree <= 4).

luv_finder.kernel.on_device(chunk: Chunk) → Chunk[source]

chunk with the arrays _collapse() reads held by JAX in float64.

luv_finder.kernel.point_moments(chunk: Chunk, dra: float, ddec: float, cov) → tuple[source]

_moments() of one window at one position (arcsec, sky frame) and sky covariance (arcsec^2).