hanningsmooth

hanningsmooth(xds, field=None, spw=None, timerange=None, uvrange=None, antenna=None, scan=None)[source]

Todo

This function is not yet implemented

Perform a running mean across the spectral axis with a triangle as a smoothing kernel

Parameters
  • xds (xarray.core.dataset.Dataset) – input Visibility Dataset

  • field (int) – field selection. If None, use all fields

  • spw (int) – spw selection. If None, use all spws

  • timerange (int) – time selection. If None, use all times

  • uvrange (int) – uvrange selection. If None, use all uvranges

  • antenna (int) – antenna selection. If None, use all antennas

  • scan (int) – scan selection. If None, use all scans

Returns

New Visibility Dataset with updated data

Return type

xarray.core.dataset.Dataset