Implement a rejection method to draw MC samples from a diffuse map or cube
|Assigned To:||Knödlseder Jürgen||% Done:|
mc() methods of
GModelSpatialDiffuseCube sample in fact random positions within a pixel, leading to substantial differences between MC data and model computation in case of coarse map binning.
mc() methods should implement a rejection method so that the MC samples match the bilinear interpolations done on the model. This should fix the discrepancies between model and MC samples that is at the origin of mismatches between simulated and fitted values.