Logo white

Francois Brun / ctools

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Snippets
  • Commits 1,725
  • Compare
  • Branches 11
  • Tags 17
  • ctools
18 Sep, 2012
6 commits
  • Include TEST_ENV_DIR in load library path.
    320d2e9e
    Jürgen Knödlseder authored
    2012-09-18 07:16:06 +0200  
    Browse Code »
  • Update according to recent GammaLib changes.
    42c849a0
    Jürgen Knödlseder authored
    2012-09-18 07:15:16 +0200  
    Browse Code »
  • Remove check-local target. ...
    8bff97d1
    No Python compilation is needed anymore for make check.
    Jürgen Knödlseder authored
    2012-09-18 02:03:37 +0200  
    Browse Code »
  • Correct typo.
    5815760a
    Jürgen Knödlseder authored
    2012-09-18 02:02:50 +0200  
    Browse Code »
  • Add wrapper library directory to PYTHONPATH. ...
    786941d7
    A symbolic link is now created by setup.py that points towards the wrapper library directory. We add this directory now to the PYTHONPATH so that no double compilation is needed anymore.
    Jürgen Knödlseder authored
    2012-09-18 01:59:31 +0200  
    Browse Code »
  • Make compliant to MacPorts gcc compiler. ...
    55509ac5
    A Darwin kluge consisted of linking statically with the ctools library for unit testing. It turned out that this is no longer necessary, so I removed the Darwin kluge of static linking.
    
    Furthermore, a post-processing step was added that creates a symbolic link to the directory that contains the shared wrapper library. In that way, we do not need a double compilation anymore (before, we compiled once for the install and a second time for the unit test). This should now speed up the unit testing step.
    Jürgen Knödlseder authored
    2012-09-18 01:57:56 +0200  
    Browse Code »

14 Sep, 2012
4 commits
  • Update for ctools release 00-05-00.
    98fe2f28
    Jürgen Knödlseder authored
    2012-09-14 21:55:25 +0200  
    Browse Code »
  • Add prefix parameter description.
    4452e75d
    Jürgen Knödlseder authored
    2012-09-14 21:30:08 +0200  
    Browse Code »
  • Update query text. ...
    eb9fa8b2
    As the outfile can now also be an XML observation definition file, we add this information to the query.
    Jürgen Knödlseder authored
    2012-09-14 21:28:36 +0200  
    Browse Code »
  • Update for ctools release 00-05-00.
    08ddc437
    Jürgen Knödlseder authored
    2012-09-14 21:22:19 +0200  
    Browse Code »

28 Aug, 2012
1 commit
  • Use AM_CONFIG_HEADER instead of AC_CONFIG_HEADERS and add AC_SUBST(OPENMP_CXXFLAGS)
    8f057b55
    Jürgen Knödlseder authored
    2012-08-28 12:37:24 +0200  
    Browse Code »

25 Aug, 2012
2 commits
  • Simplify Python wrapper detection. ...
    f894613b
    Adapt the simplified Python wrapper detection method from GammaLib.
    Jürgen Knödlseder authored
    2012-08-25 02:26:10 +0200  
    Browse Code »
  • Add Mac OS X 10.4 kluge for Python detection. ...
    a2f9903a
    Initially, Python was not correctly detected on Mac OS X due to an old version of AM_PATH_PYTHON(bug #437). A kluge has been added that will detect Python nevertheless.
    Jürgen Knödlseder authored
    2012-08-25 01:42:42 +0200  
    Browse Code »

24 Aug, 2012
1 commit
  • Correctly search for libtool.
    26e2720a
    Jürgen Knödlseder authored
    2012-08-24 16:52:44 +0200  
    Browse Code »

23 Aug, 2012
2 commits
  • On Linux systems, test if libgomp.so.1 can be dlopen()ed. ...
    9e2673b3
    The gcc 4.2.x compiler series has a feature where libgomp.so.1 cannot be dlopen()ed. In this case, the OpenMP support does not properly work in ctools. We try detecting this, but restrict the analysis so far on Linux systems.
    Jürgen Knödlseder authored
    2012-08-23 12:10:01 +0200  
    Browse Code »
  • Replace C-style casts by C++ style casts
    d85cbf20
    Jürgen Knödlseder authored
    2012-08-23 02:18:25 +0200  
    Browse Code »

22 Aug, 2012
5 commits
  • Replace print statements by calls to sys.stdout.write() functions. ...
    9efd40b5
    As Python3 replaces the print statement by a print() function, the previous code was not compatible with Python3. We thus replaced all print statements by calls to sys.stdout.write() so that the code works  both for Python2 and Python3.
    Jürgen Knödlseder authored
    2012-08-22 18:20:29 +0200  
    Browse Code »
  • Introduce Python compatibility brackets. ...
    e0891e8e
    Add two variables PYTHON_OPEN and PYTHON_CLOSE that are either " " and "" (for Python 2) or "(" and ")" (for Python 3). These variables are used in setup.py to toggle between the Python 2 print statement and the Python 3 print function.
    Jürgen Knödlseder authored
    2012-08-22 18:06:39 +0200  
    Browse Code »
  • Detect also Python3 headers. ...
    c9b8b0ed
    In Python3, the print method was replaced by a print() function. We have thus to distinguish between both possibilities during the configuration.
    Jürgen Knödlseder authored
    2012-08-22 16:58:05 +0200  
    Browse Code »
  • Pass @OPENMP_CXXFLAGS@ instead of -fopenmp as extra flags so that OpenMP support… ...
    1a484534
    … compiles also correctly on compilers that differ from gcc.
    Jürgen Knödlseder authored
    2012-08-22 16:08:53 +0200  
    Browse Code »
  • Add ctools and gammalib library paths to LD_LIBRARY_PATH for unit testing. ...
    5fceda56
    Using the clang compiler, the ctools and gammalib libraries were not found. Adding the paths helps.
    Jürgen Knödlseder authored
    2012-08-22 00:49:36 +0200  
    Browse Code »

21 Aug, 2012
3 commits
  • Check also for clang++ C++ compiler, and check also for valid C compiler (including clang).
    c79b71d0
    Jürgen Knödlseder authored
    2012-08-21 23:44:00 +0200  
    Browse Code »
  • Remove GAMMALIB variable (obsolete).
    546384e0
    Jürgen Knödlseder authored
    2012-08-21 16:06:01 +0200  
    Browse Code »
  • Add GAMMALIB variable that points towards the GammaLib installation.
    7bfe5f99
    Jürgen Knödlseder authored
    2012-08-21 16:02:33 +0200  
    Browse Code »

19 Aug, 2012
4 commits
  • Reformat code.
    54877db3
    Jürgen Knödlseder authored
    2012-08-19 23:25:14 +0200  
    Browse Code »
  • Add OPENMP_LIB_LDFLAGS for OpenMP support on Mac OS X. ...
    097d9165
    For OpenMP to work properly on Mac OS X, the -lgomp library has to be linked. For this purpose, a new variable OPENMP_LIB_LDFLAGS has been created that is set by configure to -lgomp in the presence of OpenMP support.
    
    The ctobssim Makefile.am has been modified to take this parameter into account during linking.
    Jürgen Knödlseder authored
    2012-08-19 23:24:34 +0200  
    Browse Code »
  • Make compliant to coding standards and update version number to 00-06-00. ...
    1e20fe60
    Made code compliant to coding standards and added more text for comments.
    
    Updated also the version number to 00-06-00.
    Jürgen Knödlseder authored
    2012-08-19 22:07:42 +0200  
    Browse Code »
  • Adjust according to GammaLib. ...
    4825ce61
    The files were adjusted according to the recent changes in GammaLib.
    Jürgen Knödlseder authored
    2012-08-19 21:43:42 +0200  
    Browse Code »

14 Aug, 2012
1 commit
  • Fix bug with GLog
    81a45bf9
    Jean-Baptiste CAYROU authored
    2012-08-14 14:52:29 +0200  
    Browse Code »

13 Aug, 2012
1 commit
  • Perform OpenMP checks for C++ language
    5059c9af
    Jürgen Knödlseder authored
    2012-08-13 00:48:28 +0200  
    Browse Code »

12 Aug, 2012
1 commit
  • Always set extra flags
    77355de6
    Jürgen Knödlseder authored
    2012-08-12 21:48:29 +0200  
    Browse Code »

30 Jul, 2012
3 commits
  • Parallelize the simulation loop
    4c5082b8
    Jean-Baptiste CAYROU authored
    2012-07-30 15:30:27 +0200  
    Browse Code »
  • Add openmp flag for swig
    f4de261c
    Jean-Baptiste CAYROU authored
    2012-07-30 10:55:32 +0200  
    Browse Code »
  • Add option for multi-threading. Auto-detection of openmp in gammalib.
    78d6c84d
    Jean-Baptiste CAYROU authored
    2012-07-30 10:22:47 +0200  
    Browse Code »

21 Jul, 2012
4 commits
  • Improve ctlike output ...
    9baf2d5e
    ctlike now computes the observed number of events and dumps the information just before the predicted number of events into the log file. The difference between the observed and predicted number of events is also given so that one knows immediately if the fit behaved as it should.
    
    This commit closes actions #87 and #88 and the feature #54.
    Jürgen Knödlseder authored
    2012-07-21 01:13:04 +0200  
    Browse Code »
  • Change parameter access methods. ...
    4e47b21b
    Filenames are now always accessed using the filename() method so that environment variables get correctly expanded.
    
    The prefix is now accessed using the string() method instead of the generic value() method, so that string checkings can be performed.
    Jürgen Knödlseder authored
    2012-07-21 01:05:28 +0200  
    Browse Code »
  • Add support for writing of XML observation definition files. ...
    d4811766
    In case that the observation container holds more than a single observation, ctobssim now outputs an observation definition XML file in addition to the event files. The filenames of the event files will be stored in the observation definition XML file so that subsequent ctools can handle all observational data together.
    Jürgen Knödlseder authored
    2012-07-21 00:26:56 +0200  
    Browse Code »
  • Use value() instead of filename() to retrieve output filename. ...
    72e0b749
    We use the value() method instead of the filename() method to retrieve the output filename as we do not want to check whether the file exists.
    Jürgen Knödlseder authored
    2012-07-21 00:11:02 +0200  
    Browse Code »

20 Jul, 2012
1 commit
  • Add script to create the node section of a NodeFunction spectral model. ...
    0417bf5c
    The script cta_make_nodes.py can be used to create the node section of a NodeFunction XML model. It initialises the energy values with a logarithmic binning, and sets initial intensity values using a Crab spectrum based on a power law function.
    Jürgen Knödlseder authored
    2012-07-20 23:23:39 +0200  
    Browse Code »

18 Jul, 2012
1 commit
  • Increment version number to 0.5.0
    c0ab3a39
    Jürgen Knödlseder authored
    2012-07-18 16:03:44 +0200  
    Browse Code »