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.
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.