Change request #1441

Change GEbounds handling of empty and invalid energy intervals

Added by Knödlseder Jürgen about 9 years ago. Updated about 9 years ago.

Status:ClosedStart date:03/10/2015
Priority:NormalDue date:
Assigned To:Knödlseder Jürgen% Done:

100%

Category:-
Target version:1.0.0
Duration:

Description

So far the GEbounds methods do nothing if an energy interval is empty (emin = emax) or invalid (emin > emax). This can lead to a situation where the user thinks that he has appended an interval, but the interval does not exist.

There is no reason for not having empty energy intervals (emin = emax), hence such intervals should be allowed.

In contrast, appending invalid energy intervals should raise an exception.


Recurrence

No recurrence.


Related issues

Related to ctools - Bug #1440: Unable to make single map exposure cube Closed 03/10/2015

History

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

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

Done and merged into devel.

Also available in: Atom PDF