Logo white

Johan Bregeon / gammalib

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Snippets
  • Commits 6,000
  • Compare
  • Branches 16
  • Tags 28
  • gammalib
  • test
05 Dec, 2015
2 commits
  • Correct CTA file post-processing in test_python.py.
    05fc60bf
    Jürgen Knödlseder authored
    2015-12-05 00:48:02 +0100  
    Browse Dir »
  • Always exist test_python.py with sys.exit() so that errors are correctly catched by Jenkins.
    91a49877
    Jürgen Knödlseder authored
    2015-12-05 00:47:38 +0100  
    Browse Dir »

04 Dec, 2015
1 commit
  • Add path to test_python.py file to system path so that import statements also wo… ...
    32015650
    …rk for absolute imports that are used as standard in Python 3.
    Jürgen Knödlseder authored
    2015-12-04 22:51:13 +0100  
    Browse Dir »

25 Nov, 2015
2 commits
  • Add validity check for remaining FITS table columns and add Python unit test.
    88013475
    Jürgen Knödlseder authored
    2015-11-25 01:50:28 +0100  
    Browse Dir »
  • Check for index validity in GSkyMap::__getitem__() method (#1581). ...
    71a80959
    This is needed for correct catching of exceptions by the SWIG interface on some operating systems.
    Jürgen Knödlseder authored
    2015-11-25 00:01:43 +0100  
    Browse Dir »

22 Nov, 2015
1 commit
  • Handle ~ sequences in gammalib::expand_env (#1580). ...
    a9ec30d3
    gammalib::expand_env replaces ~ or ~user by the user's home directory, ~+ by the value of the PWD environment variable and ~- by the value of the OLDPWD variable. If the user or the PWD or OLDPWD variable are not found, no replacement is done.
    Update change-log.
    Jürgen Knödlseder authored
    2015-11-22 22:07:53 +0100  
    Browse Dir »

28 Oct, 2015
5 commits
  • Correct swig kluge
    2f8fd49c
    Jürgen Knödlseder authored
    2015-10-28 01:22:43 +0100  
    Browse Dir »
  • Correct swig kluge.
    36292b5c
    Jürgen Knödlseder authored
    2015-10-28 01:06:53 +0100  
    Browse Dir »
  • Add comments.
    915f9237
    Jürgen Knödlseder authored
    2015-10-28 00:50:28 +0100  
    Browse Dir »
  • Add kluge to support testing of boolean logging for new and old swig versions (d… ...
    64907832
    …ependent on the swig version the results will differ)
    Jürgen Knödlseder authored
    2015-10-28 00:49:29 +0100  
    Browse Dir »
  • Properly detect boolean application parameter. ...
    fdcfac83
    I removed the -DSWIG_PYTHON_LEGACY_BOOL compile option for swig and corrected two unit test problems in test_GApplication.py and test_GFits.py that arose from this (see #1494). I then added a __setitem__(const std::string& name, const bool& val) method to GApplication and disallowed setting of a boolean parameter with an integer value. This results in the expected behavior.
    Jürgen Knödlseder authored
    2015-10-28 00:28:36 +0100  
    Browse Dir »

27 Oct, 2015
1 commit
  • Add interval constructor and set methods to GEnergies class.
    d0b78786
    Jürgen Knödlseder authored
    2015-10-27 10:50:32 +0100  
    Browse Dir »

26 Oct, 2015
3 commits
  • Remove obsolete imports.
    49d046bd
    Jürgen Knödlseder authored
    2015-10-26 22:49:34 +0100  
    Browse Dir »
  • Change "from gammalib import *" to "import gammalib"
    f894f15c
    Jürgen Knödlseder authored
    2015-10-26 22:47:59 +0100  
    Browse Dir »
  • Implement gammalib.test() function to Python unit testing.
    65b8bf7b
    Jürgen Knödlseder authored
    2015-10-26 22:22:20 +0100  
    Browse Dir »

23 Jul, 2015
1 commit
  • Rename GEbounds::is_in_range() method into GEbounds::contains() and add unit tes… ...
    0dae16ce
    …ts for GEbounds::contains() methods.
    Jürgen Knödlseder authored
    2015-07-23 22:47:15 +0200  
    Browse Dir »

03 Jul, 2015
5 commits
  • Rename GSkymap to GSkyMap.
    a475372f
    Jürgen Knödlseder authored
    2015-07-03 23:09:41 +0200  
    Browse Dir »
  • Add binary operators to GSkymap class.
    fc2d5163
    Jürgen Knödlseder authored
    2015-07-03 22:26:15 +0200  
    Browse Dir »
  • Clean-up the clean up :-)
    c75683e9
    Jürgen Knödlseder authored
    2015-07-03 18:20:17 +0200  
    Browse Dir »
  • Some Python code cleanup
    7f1dc4d6
    Christoph Deil authored
    2015-07-03 17:50:49 +0200  
    Browse Dir »
  • Move Python example scripts to examples folder
    8d3246b3
    Christoph Deil authored
    2015-07-03 17:32:50 +0200  
    Browse Dir »

01 Jul, 2015
1 commit
  • Update sparse matrix print test.
    0e596d40
    Jürgen Knödlseder authored
    2015-07-01 14:12:22 +0200  
    Browse Dir »

30 Jun, 2015
1 commit
  • Handle also filename, string and boolean parameters.
    aea673ca
    Jürgen Knödlseder authored
    2015-06-30 18:40:10 +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 »

13 Jun, 2015
2 commits
  • Increase unit test precision even further.
    51eecc1d
    Jürgen Knödlseder authored
    2015-06-13 00:17:39 +0200  
    Browse Dir »
  • Reduce required precision for testing of diffuse maps. ...
    a745d686
    There are machine dependent differences in the computation of solid angles, related to the system dependent precision of trigonometric functions. To avoid errors on the large variety of systems, the required precision for the unit test has been reduced.
    Jürgen Knödlseder authored
    2015-06-13 00:00:17 +0200  
    Browse Dir »

12 Jun, 2015
1 commit
  • Adapt unit test reference values after correcting GSkymap::contains() method.
    94ed2470
    Jürgen Knödlseder authored
    2015-06-12 22:03:36 +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
1 commit
  • Adapt model unit test to new gradient computation.
    0d88dae5
    Jürgen Knödlseder authored
    2015-06-02 11:22:40 +0200  
    Browse Dir »

01 Jun, 2015
5 commits
  • Convert tabs to spaces.
    81c50500
    Jürgen Knödlseder authored
    2015-06-01 21:05:34 +0200  
    Browse Dir »
  • Reduce precision of model integration test
    63cdc71d
    Jürgen Knödlseder authored
    2015-06-01 17:36:41 +0200  
    Browse Dir »
  • Adapt reference values to new GSkymap flux() method.
    7dd9a218
    Jürgen Knödlseder authored
    2015-06-01 16:57:11 +0200  
    Browse Dir »
  • Add GSkymap.flux() method test.
    075bd162
    Jürgen Knödlseder authored
    2015-06-01 16:51:29 +0200  
    Browse Dir »
  • Adapt reference values to new skymap flux computation.
    91bf6a00
    Jürgen Knödlseder authored
    2015-06-01 09:55:01 +0200  
    Browse Dir »

30 May, 2015
2 commits
  • Add HealPix boundaries test.
    006278f6
    Jürgen Knödlseder authored
    2015-05-30 00:30:33 +0200  
    Browse Dir »
  • Add HealPix flux computation test.
    dea2661a
    Jürgen Knödlseder authored
    2015-05-30 00:29:14 +0200  
    Browse Dir »

17 May, 2015
3 commits
  • Use fork instead of pthread for VO Hub unit testing. ...
    a7675881
    We should avoid using threads as this has portability issues.
    Jürgen Knödlseder authored
    2015-05-17 09:44:41 +0200  
    Browse Dir »
  • Add some sleep before checking that Hub is dead
    b8ea001d
    Jürgen Knödlseder authored
    2015-05-17 01:12:19 +0200  
    Browse Dir »
  • Add a bit of sleeping.
    0079d73e
    Jürgen Knödlseder authored
    2015-05-17 00:34:40 +0200  
    Browse Dir »

16 May, 2015
1 commit
  • Remove debut outputs.
    0c47c97e
    Jürgen Knödlseder authored
    2015-05-16 23:23:04 +0200  
    Browse Dir »