Logo white

Michael Mayer / ctools

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Snippets
  • Commits 2,123
  • Compare
  • Branches 39
  • Tags 15
  • ctools
  • src
21 Dec, 2012
1 commit
  • Correct random number generator seed value initialization. ...
    9fef967f
    The seed value initialization of the random number generator was not correct, leading always to seeds of 0, irrespectively of the specified seed value. This has been fixed.
    Jürgen Knödlseder authored
    2012-12-21 21:14:18 +0100  
    Browse Dir »

20 Dec, 2012
3 commits
  • Add event identifier to event list.
    444d0496
    Jürgen Knödlseder authored
    2012-12-20 23:28:08 +0100  
    Browse Dir »
  • Correctly recompute ontime and livetime.
    9d815502
    Jürgen Knödlseder authored
    2012-12-20 23:16:06 +0100  
    Browse Dir »
  • Show times in CTA time reference and correct indentation. ...
    debcf44a
    All times are now shown in the CTA time reference.
    
    For time slice information, the indentation was corrected.
    Jürgen Knödlseder authored
    2012-12-20 22:57:33 +0100  
    Browse Dir »

19 Dec, 2012
2 commits
  • Add CTA time reference.
    58e558e8
    Jürgen Knödlseder authored
    2012-12-19 06:17:25 +0100  
    Browse Dir »
  • For explicit chatter level, read back temporary file and dump it to log file.
    84069396
    Jürgen Knödlseder authored
    2012-12-19 06:16:45 +0100  
    Browse Dir »

17 Dec, 2012
3 commits
  • Adapt to new GTime interface.
    69001f77
    Jürgen Knödlseder authored
    2012-12-17 23:52:24 +0100  
    Browse Dir »
  • Add usepnt parameter and adapt to new GTime interface. ...
    9f8a8ffe
    The usepnt parameter now signals when the pointing should be used as ROI centre. This allows arbitrary values for ra/dec (before, ra=0 and dec=0 signalled that the pointing should be used).
    
    The tool now uses the new GTime interface. In particular, the input time is now given in CTA reference time in seconds.
    Jürgen Knödlseder authored
    2012-12-17 23:51:47 +0100  
    Browse Dir »
  • Replace @datadir@ by @datarootdir@.
    8e9b4411
    Jürgen Knödlseder authored
    2012-12-17 23:34:53 +0100  
    Browse Dir »

05 Dec, 2012
1 commit
  • Replace skydir() by dir() method (adapt to GammaLib-00-07-00).
    ff28a928
    Jürgen Knödlseder authored
    2012-12-05 23:07:53 +0100  
    Browse Dir »

16 Oct, 2012
1 commit
  • Add ra and dec parameters to specify pointing. ...
    63546438
    If a model is to be built from scratch, the pointing direction of the observation needs to be specified.
    Jürgen Knödlseder authored
    2012-10-16 00:02:42 +0200  
    Browse Dir »

15 Oct, 2012
3 commits
  • Add ctmodel tool.
    596d6159
    Jürgen Knödlseder authored
    2012-10-15 23:48:19 +0200  
    Browse Dir »
  • Create ctmodel tool. ...
    f048b0ed
    The ctmodel tool generates a model map from a source model description. The definition of the model map may either be taken from a counts map, from an XMK observation definition file, or from the task parameters.
    Jürgen Knödlseder authored
    2012-10-15 23:47:57 +0200  
    Browse Dir »
  • Remove @TEST_ENV_DIR@ from load library path. ...
    010bb30b
    I don't recall why I have added this for ctools. The variable is never set, so it can't work anyways.
    Jürgen Knödlseder authored
    2012-10-15 18:51:46 +0200  
    Browse Dir »

22 Sep, 2012
2 commits
  • Adapt to new GammaLib interface. ...
    e70ffa32
    The GModels access operator now returns a pointer instead of a reference. The code has been adapted accordingly.
    Jürgen Knödlseder authored
    2012-09-22 00:31:20 +0200  
    Browse Dir »
  • Update version number to 0.7.0.
    9e2c5e6c
    Jürgen Knödlseder authored
    2012-09-22 00:30:38 +0200  
    Browse Dir »

19 Sep, 2012
1 commit
  • Catch exceptions by reference.
    c5beaae6
    Jürgen Knödlseder authored
    2012-09-19 23:17:59 +0200  
    Browse Dir »

18 Sep, 2012
1 commit
  • Include TEST_ENV_DIR in load library path.
    320d2e9e
    Jürgen Knödlseder authored
    2012-09-18 07:16:06 +0200  
    Browse Dir »

14 Sep, 2012
1 commit
  • 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 Dir »

23 Aug, 2012
1 commit
  • Replace C-style casts by C++ style casts
    d85cbf20
    Jürgen Knödlseder authored
    2012-08-23 02:18:25 +0200  
    Browse Dir »

19 Aug, 2012
2 commits
  • 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 Dir »
  • 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 Dir »

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

30 Jul, 2012
1 commit
  • Parallelize the simulation loop
    4c5082b8
    Jean-Baptiste CAYROU authored
    2012-07-30 15:30:27 +0200  
    Browse Dir »

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 Dir »
  • 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 Dir »
  • 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 Dir »
  • 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 Dir »

21 Jun, 2012
1 commit
  • Add missing space before "deg"
    eb1a4b45
    knodlseder authored
    2012-06-21 19:15:47 +0000  
    Browse Dir »

09 Mar, 2012
2 commits
  • Correctly deal with the case that no events are selected. In this case an empty … ...
    719953c4
    …FITS file will be written. Note that the empty FITS file will have no columns. This should probably be changed on the lower (GammaLib) level.
    knodlseder authored
    2012-03-09 15:53:05 +0000  
    Browse Dir »
  • Remove explicit deadtime correction as this is now done in the GCTAResponse::mc … ...
    485abe08
    …and GCTAModelRadialAcceptance::mc method.
    knodlseder authored
    2012-03-09 10:47:59 +0000  
    Browse Dir »

08 Mar, 2012
3 commits
  • Correctly handle deadtime correction also for observations that are passed in the container. ...
    df92d1f3
    Instead of using the m_deadc member we use now the GObservation::deadc method to access the deadtime correction factor.
    knodlseder authored
    2012-03-08 15:33:04 +0000  
    Browse Dir »
  • Implement deadtime correction. ...
    cd217310
    The deadtime is controlled using the deadc parameter. An additional MC process decides whether a photon event or a background event falls within a dead period of the system or not.
    knodlseder authored
    2012-03-08 14:12:17 +0000  
    Browse Dir »
  • Add deadc parameter to account for deadtime
    d33354d2
    knodlseder authored
    2012-03-08 14:10:51 +0000  
    Browse Dir »

28 Feb, 2012
4 commits
  • Specify in the prompt messages which file is input and which file is output.
    9a1c506d
    knodlseder authored
    2012-02-28 10:40:36 +0000  
    Browse Dir »
  • Read output file as last parameters as proper order parameter parsing is easier … ...
    5fb3bfaf
    …to understand for the user.
    
    Instead of reading ahead the output parameter, I added a flag that signals when ahead reading is desired.
    knodlseder authored
    2012-02-28 10:40:03 +0000  
    Browse Dir »
  • Read output file as last parameters as proper order parameter parsing is easier … ...
    2e74f2e2
    …to understand for the user.
    
    Instead of reading ahead the output parameter, I added a flag that signals when ahead reading is desired.
    knodlseder authored
    2012-02-28 10:32:22 +0000  
    Browse Dir »
  • Read output file as last parameters as proper order parameter parsing is easier … ...
    ed9fa582
    …to understand for the user.
    
    Instead of reading ahead the output parameter, I added a flag that signals when ahead reading is desired.
    knodlseder authored
    2012-02-28 10:15:53 +0000  
    Browse Dir »

30 Jan, 2012
2 commits
  • Use pointing instead of reference coordinates only if xref = yref = 9999
    7f0d0f43
    knodlseder authored
    2012-01-30 21:35:08 +0000  
    Browse Dir »
  • Supports now also reading of observations from an observation definition XML file.
    4100ccb5
    knodlseder authored
    2012-01-30 16:15:57 +0000  
    Browse Dir »