ratt-ru / codex-africanus

Radio Astronomy Algorithms Library
https://codex-africanus.readthedocs.io
Other
19 stars 10 forks source link

Add documentation for weighting options in gridder and degridder #44

Closed landmanbester closed 4 years ago

landmanbester commented 6 years ago

Both the gridder and degridder take weights as inputs. This is the most general approach but requires some care on the user's part. Specifically, the user should be made aware that passing the actual weights to both will result in undesirable behaviour since this will actually apply the weights twice. The option is here to make it possible to have gridding and degridding operators which are the adjoints of each other. If this is required then the square root of the weights should be passed to both the gridder and degridder. Additionally, the data should be pre-weighted by the square root of the weights for this to make sense. This should be well documented as it departs from the usual way of doing things. Will add it to the docs when I get a chance.

landmanbester commented 4 years ago

Added in https://github.com/ska-sa/codex-africanus/pull/204