Action #1465

Implement a rejection method to draw MC samples from a diffuse map or cube

Added by Knödlseder Jürgen about 8 years ago. Updated over 7 years ago.

Status:ClosedStart date:05/22/2015
Priority:UrgentDue date:
Assigned To:Knödlseder Jürgen% Done:


Target version:1.0.0


The mc() methods of GModelSpatialDiffuseMap and 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.

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


No recurrence.


#1 Updated by Knödlseder Jürgen about 8 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100

A rejection method has been implemented for the diffuse map and the diffuse cube model.

#2 Updated by Knödlseder Jürgen over 7 years ago

  • Status changed from Feedback to Closed
  • Remaining (hours) set to 0.0

Is implemented since a while and no issue came up, so I close this now.

Also available in: Atom PDF