ratt-ru / xova

dask-ms/codex-africanus MS averaging tool
Other
0 stars 2 forks source link

Add fix for uvw regeneration when not all antennae are within chunk #27

Closed bennahugo closed 1 year ago

bennahugo commented 1 year ago

Description

Simple little bug that only shows on really small chunks (when not all antennae are within loaded chunk). In this case the baseline index maximum number of antennae are based on unique(concat(a1,a2)) instead of max(concat(a1,a2)) which leads to an out of bounds error

A fix just needs to be propagated from https://github.com/bennahugo/LunaticPolarimetry/blob/master/utils/fixvis.py