This script fixes Measurement Sets with reversed frequency ordering that can cause WSClean imaging failures. It safely copies the input MS and flips the channel axis in all relevant data and weight columns, while also updating SPECTRAL_WINDOW metadata. This ensures a consistent, increasing frequency axis suitable for imaging.
-
Updated
Dec 23, 2025 - Python