Logo white

Rolf Buehler / gammalib

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Snippets
  • Commits 6,820
  • Compare
  • Branches 22
  • Tags 39
  • gammalib
  • src
04 Jul, 2015
1 commit
  • Avoid memory leak in XML parsing.
    8ede43dc
    Jürgen Knödlseder authored
    2015-07-04 00:39:55 +0200  
    Browse Dir »

03 Jul, 2015
2 commits
  • Rename GSkymap to GSkyMap.
    a475372f
    Jürgen Knödlseder authored
    2015-07-03 23:09:41 +0200  
    Browse Dir »
  • Allow division by skymaps with zero pixels.
    520c7d16
    Jürgen Knödlseder authored
    2015-07-03 17:08:01 +0200  
    Browse Dir »

01 Jul, 2015
4 commits
  • Correct bug in set_mc_cone() that corrupted the pre-computed spectra. ...
    887cfc5e
    set_mc_cone() called fetch_cube() which itself called load() which itself called set_mc_cone() with a larger cone again. This led to a neverending recursion.
    
    I now introduced a load_cube() method that does the proper loading and that does not call set_mc_cone() again. This method is now used in fetch_cube().
    Jürgen Knödlseder authored
    2015-07-01 16:45:39 +0200  
    Browse Dir »
  • Correctly access map of 3D map cubes in flux() method. ...
    2b791076
    Before, always the first map has been accessed.
    Jürgen Knödlseder authored
    2015-07-01 15:29:04 +0200  
    Browse Dir »
  • Correct hessian method (now computes the Hessian as fully symmetric matrix).
    ef29d79a
    Jürgen Knödlseder authored
    2015-07-01 12:07:52 +0200  
    Browse Dir »
  • Correct copy_members() method. ...
    54d2a870
    Before no parameter members have been copied as the loop used the actual size of the object instead of the size of the parameters to be copied.
    Jürgen Knödlseder authored
    2015-07-01 09:55:11 +0200  
    Browse Dir »

30 Jun, 2015
1 commit
  • GModelSpectralLogParabola::eflux method now returns erg/cm2/s instead of MeV/cm2… ...
    36cb66be
    …/s (conversion factor was missing).
    Jürgen Knödlseder authored
    2015-06-30 13:19:21 +0200  
    Browse Dir »

20 Jun, 2015
1 commit
  • Correct mc() method for spatial diffuse constant model. ...
    76da1e5b
    The formula for drawing random numbers on a sphere was not correct. This has now been corrected, and verify using a dedicated test script (test_model_spatial_const.py).
    Jürgen Knödlseder authored
    2015-06-20 01:59:37 +0200  
    Browse Dir »

19 Jun, 2015
4 commits
  • Merge Hessian error computation.
    e7b90fcd
    Jürgen Knödlseder authored
    2015-06-19 23:43:13 +0200  
    Browse Dir »
  • index on integration: 35243db Checks users pfiles directory only if the PFILES e… ...
    4b2484fa
    …nvironment variable is not set.
    Jürgen Knödlseder authored
    2015-06-19 22:56:15 +0200  
    Browse Dir »
  • Checks users pfiles directory only if the PFILES environment variable is not set. ...
    35243dbd
    2
    This handles the special case that the PFILES environment variable is set, yet the parameter file does not exist. Before, in that case the users pfiles directory was searched for the parameter file. Now, if the parameter file is missing, it will be copied in from the syspfiles directory, which is the expected behaviour.
    Jürgen Knödlseder authored
    2015-06-19 16:54:16 +0200  
    Browse Dir »
  • Use precision in flux integration instead of a fixed number of iterations. ...
    1bc959c9
    Switching to a fixed number of iterations led to an inaccuracy of the flux determination that affected considerably the pull distributions. In short, too many events have been simulated. I thus switched back to using the integration precision instead of using a fixed number of iterations, which should be okay for flux computation (flux computation is not involved in likelihood computations).
    Jürgen Knödlseder authored
    2015-06-19 09:09:11 +0200  
    Browse Dir »

12 Jun, 2015
2 commits
  • Removed debug dump (forgot this before).
    995e51c5
    Jürgen Knödlseder authored
    2015-06-12 21:33:02 +0200  
    Browse Dir »
  • Correct the GSkymap::contains() method. ...
    0ecb6a07
    The check done in GSkymap::contains() was not correct, and pixel indices that were beyond the edge of the map by one pixel were still accepted. This lead in some cases to artefacts when using the GSkymap::operator() sky direction access operator. This is now corrected.
    Jürgen Knödlseder authored
    2015-06-12 21:30:33 +0200  
    Browse Dir »

07 Jun, 2015
1 commit
  • Increase number of intergation iterations from 5 to 6.
    b9635d15
    Jürgen Knödlseder authored
    2015-06-07 00:39:58 +0200  
    Browse Dir »

06 Jun, 2015
2 commits
  • Increase number of integration iterations from 4 to 5. ...
    39311c09
    Having only 4 integration iterations leads to an exception as the default order for integration is 5. Hence the number of integration iterations was switched to 5 to prevent this problem.
    
    Solves #1472.
    Jürgen Knödlseder authored
    2015-06-06 22:52:11 +0200  
    Browse Dir »
  • Correct error message.
    906ea8c2
    Jürgen Knödlseder authored
    2015-06-06 22:36:59 +0200  
    Browse Dir »

05 Jun, 2015
1 commit
  • The GOptimizerLM logger constructor now takes a pointer instead of a reference argument. ...
    75f11504
    Added a logger() method that allows setting the logger for an optimizer (and that also allows to set the NULL pointer)
    Jürgen Knödlseder authored
    2015-06-05 17:32:50 +0200  
    Browse Dir »

02 Jun, 2015
3 commits
  • Correct autoscale() method (renormalization for gradient needs a division, not a multiplication)
    e5b79d4a
    Jürgen Knödlseder authored
    2015-06-02 11:20:05 +0200  
    Browse Dir »
  • Correct the gradient() set method.
    e962f70a
    Jürgen Knödlseder authored
    2015-06-02 11:12:42 +0200  
    Browse Dir »
  • Add blank line.
    90fd2dc9
    Jürgen Knödlseder authored
    2015-06-02 10:50:58 +0200  
    Browse Dir »

01 Jun, 2015
5 commits
  • Merge branch '1465-rejection-method' into integration
    a83db518
    Jürgen Knödlseder authored
    2015-06-01 16:58:30 +0200  
    Browse Dir »
  • Implement 8-wedge integration formula for WCS pixels
    69a208a2
    Jürgen Knödlseder authored
    2015-06-01 16:49:52 +0200  
    Browse Dir »
  • Use flux method in control of the normalization.
    33055bdd
    Jürgen Knödlseder authored
    2015-06-01 09:49:27 +0200  
    Browse Dir »
  • Correct wrap around for skymap direction operator.
    a67808e9
    Jürgen Knödlseder authored
    2015-06-01 09:46:55 +0200  
    Browse Dir »
  • Implement HealPix support and rejection method for Monte Carlo simulations.
    c4afb3f9
    Jürgen Knödlseder authored
    2015-06-01 09:06:30 +0200  
    Browse Dir »

30 May, 2015
3 commits
  • Implement rejection method for Monte Carlo also for HealPix maps.
    8f76e1ff
    Jürgen Knödlseder authored
    2015-05-30 01:19:15 +0200  
    Browse Dir »
  • Implement flux() method for HealPix projections. ...
    e156834b
    The flux() method now computes an approximated flux value for HealPix projections. This flux estimate is accurate to 1-3% level, dependent on pixel and Nside parameter.
    Jürgen Knödlseder authored
    2015-05-30 00:17:40 +0200  
    Browse Dir »
  • Add several methods to the HealPix class. ...
    ba12d62e
    The following methods have been added:
    - set_z_phi
    - loc2dir
    - xyf2loc
    - pix2xyf
    - max_pixrad
    - boundaries
    - neighbours
    Jürgen Knödlseder authored
    2015-05-30 00:13:25 +0200  
    Browse Dir »

28 May, 2015
4 commits
  • Replace fixed integration precision by fixed number of iterations.
    fa87da88
    Jürgen Knödlseder authored
    2015-05-28 13:03:27 +0200  
    Browse Dir »
  • Use flux() method for flux computation in the prepare_map() method.
    5d63916f
    Jürgen Knödlseder authored
    2015-05-28 10:04:22 +0200  
    Browse Dir »
  • Add norm value to debugging output.
    1b1ac94e
    Jürgen Knödlseder authored
    2015-05-28 10:03:44 +0200  
    Browse Dir »
  • Handle wrap around in X axis and add check of skymap size after reading. ...
    07fd4b9e
    The wrap around in the X axis is now correctly dealt with in the interpolation operator.
    
    Upon reading of the WCS map the size of the map is checked. Exceptions are thrown in case that the map is larger then 360 in X and larger than 180 in Y.
    Jürgen Knödlseder authored
    2015-05-28 10:03:18 +0200  
    Browse Dir »

27 May, 2015
3 commits
  • Add flux() methods. ...
    6e9d8a89
    The flux() methods return the correct flux in a pixel considering that a bilinear interpolation is performed in the map. Flux is defined as intensity times solid angle.
    
    This works so far only properly for WCS projections. For HealPix maps, only the pixel intensity times the solid angle is returned.
    Jürgen Knödlseder authored
    2015-05-27 22:14:44 +0200  
    Browse Dir »
  • Implement rejection method for diffuse 2D maps
    5b6ed6bf
    Jürgen Knödlseder authored
    2015-05-27 16:15:11 +0200  
    Browse Dir »
  • Move method name definition upfront.
    e9c15e60
    Jürgen Knödlseder authored
    2015-05-27 15:17:50 +0200  
    Browse Dir »

22 May, 2015
1 commit
  • Correct documentation
    82b4fc00
    Jürgen Knödlseder authored
    2015-05-22 17:27:28 +0200  
    Browse Dir »

19 May, 2015
1 commit
  • Correct method name definitions.
    be6b85a5
    Jürgen Knödlseder authored
    2015-05-19 22:36:21 +0200  
    Browse Dir »

18 May, 2015
1 commit
  • Correctly handle reference attribution
    fee0bdaa
    Jürgen Knödlseder authored
    2015-05-18 11:13:18 +0200  
    Browse Dir »