weight_gridding

weight_gridding(shape, visweights, vuvwmap, vfrequencymap, vpolarisationmap=None, weighting='uniform')[source]

Reweight data using one of a number of algorithms

Parameters
  • shape

  • visweights – Visibility weights

  • vuvwmap – map uvw to grid fractions

  • vfrequencymap – map frequency to image channels

  • vpolarisationmap – map polarisation to image polarisation

  • weighting – ‘’ | ‘uniform’

Returns

visweights, density, densitygrid