Bug #1251

binned sim() function output of obsutils.py doesn't work as input for cntmap()

Added by Ohm Stefan over 10 years ago. Updated over 10 years ago.

Status:RejectedStart date:07/08/2014
Priority:NormalDue date:
Assigned To:Ohm Stefan% Done:

0%

Category:-Estimated time:3.00 hours
Target version:3rd coding sprint
Duration:

Description

In obsutils.py, the sim() function returns a counts cube, whereas the cntmap() function expects an event list as input. A loop over that counts cube results in very strange sky maps. For example, for a 50 energy bins, the resulting sky map is filled with entries of 0,50 and 100.


Recurrence

No recurrence.

History

#1 Updated by Ohm Stefan over 10 years ago

  • Assigned To set to Ohm Stefan
  • Target version set to 3rd coding sprint
  • Estimated time changed from 1.00 to 3.00

#2 Updated by Ohm Stefan over 10 years ago

  • Status changed from New to Pull request

The branch to be merged is called “issue_1521”

#3 Updated by Knödlseder Jürgen over 10 years ago

  • Status changed from Pull request to Rejected

The proper change was to add the number of counts in an event to the skymap instead of a constant 1.0.

Also available in: Atom PDF