Logo white

Johan Bregeon / ctools

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Snippets
  • Commits 2,096
  • Compare
  • Branches 11
  • Tags 15
  • ctools
  • src
25 Oct, 2014
1 commit
  • Reduce memory usage by disposing the event lists after usage.
    ed322a40
    Jürgen Knödlseder authored
    2014-10-25 01:37:32 +0200  
    Browse Dir »

24 Oct, 2014
5 commits
  • Redeclare ctobssim::obs() as inline method. ...
    6eff4223
    As the GCTAObservation class now handles transparently the disposal and re-loading of information it is not needed anymore to re-load the event list upon call of the obs() method. We thus can put the obs() method inline as before.
    Jürgen Knödlseder authored
    2014-10-24 23:16:57 +0200  
    Browse Dir »
  • Make get_current_rss() compile on Mac OS X.
    d0f9823b
    Jürgen Knödlseder authored
    2014-10-24 23:02:45 +0200  
    Browse Dir »
  • Add OpenPM critical zone for FITS file writing from within threads.
    da79524c
    Jürgen Knödlseder authored
    2014-10-24 17:48:25 +0200  
    Browse Dir »
  • Reduce memory requirements for ctobssim. ...
    42c737c1
    The memory needs for ctobssim have been reduced by first working on a local copy of the CTA observation (this de-allocates properly and memory cache associated to the response functions), and by saving and disposing the event lists immediately if called using the execute() method (this is the method called when the tool is run from the command line).
    Jürgen Knödlseder authored
    2014-10-24 16:27:34 +0200  
    Browse Dir »
  • Add get_current_rss() method to determine the physical memory size of the proces… ...
    a3805817
    …s. This method is useful for debugging the memory usage of ctools.
    Jürgen Knödlseder authored
    2014-10-24 16:16:15 +0200  
    Browse Dir »

17 Oct, 2014
2 commits
  • Integrate code and update change log
    e75fe5a4
    Jürgen Knödlseder authored
    2014-10-17 20:26:54 +0200  
    Browse Dir »
  • removed tscalc parameter from ctlike
    1bf17790
    Michael Mayer authored
    2014-10-17 16:41:55 +0200  
    Browse Dir »

14 Oct, 2014
2 commits
  • Shorten text for logger
    13edcb49
    Jürgen Knödlseder authored
    2014-10-14 23:10:35 +0200  
    Browse Dir »
  • Add cube setting method to ctmodel.
    454357fb
    Jürgen Knödlseder authored
    2014-10-14 22:58:59 +0200  
    Browse Dir »

10 Oct, 2014
15 commits
  • Move execute() method to ctool base class and add pure virtual clear(), run() an… ...
    9482abe1
    …d scave() methods to ctool interface. Add read_ahead() method to handle reading of task parameters at the beginning of the task execution. Remove all m_read_ahead members from the derived classes.
    Jürgen Knödlseder authored
    2014-10-10 23:08:48 +0200  
    Browse Dir »
  • ctcubemask now derives from ctool base class.
    66892c1a
    Jürgen Knödlseder authored
    2014-10-10 22:39:12 +0200  
    Browse Dir »
  • cttsmap now derives from ctool base class.
    378c62cb
    Jürgen Knödlseder authored
    2014-10-10 22:34:22 +0200  
    Browse Dir »
  • ctskymap now derives from ctool base class.
    530bfccc
    Jürgen Knödlseder authored
    2014-10-10 22:28:16 +0200  
    Browse Dir »
  • ctselect now derives from ctool base class.
    5a6fea13
    Jürgen Knödlseder authored
    2014-10-10 22:23:21 +0200  
    Browse Dir »
  • ctpsfcube now derives from ctool base class.
    3b9e0e5f
    Jürgen Knödlseder authored
    2014-10-10 22:18:33 +0200  
    Browse Dir »
  • ctobssim now derives from ctool base class.
    05cf25d9
    Jürgen Knödlseder authored
    2014-10-10 22:12:05 +0200  
    Browse Dir »
  • ctmodel now derives from ctool. Add ctool::set_response() method that sets the r… ...
    8f4e5b3e
    …esponse for all CTA observation in the container that have not yet a response using the task parameters.
    Jürgen Knödlseder authored
    2014-10-10 22:05:15 +0200  
    Browse Dir »
  • Merge branch '1330-ctmodel-multiple-handling' into add-base-class
    6ec18d45
    Jürgen Knödlseder authored
    2014-10-10 21:53:02 +0200  
    Browse Dir »
  • ctlike now derives from ctool base class.
    c600f360
    Jürgen Knödlseder authored
    2014-10-10 21:52:11 +0200  
    Browse Dir »
  • ctexpcube now derives from ctool. Added set_obs_response() to the ctool base cla… ...
    fc6ccd39
    …ss for CTA observation response setting.
    Jürgen Knödlseder authored
    2014-10-10 21:44:38 +0200  
    Browse Dir »
  • ctbkgcube now derives from ctool class, removed get_ebounds() method as it is pr… ...
    24af49bb
    …ovided by the base class
    Jürgen Knödlseder authored
    2014-10-10 21:27:43 +0200  
    Browse Dir »
  • Use ctool base class in ctbin tool. ...
    06e26db0
    The ctool base class is now used in the ctbin tool. The get_ebounds() method has been moved to the ctool base class so that it can be used also in other tools. This reduces code duplication.
    Jürgen Knödlseder authored
    2014-10-10 21:18:09 +0200  
    Browse Dir »
  • Add support folder and ctool base class
    dd94aa23
    Jürgen Knödlseder authored
    2014-10-10 18:12:46 +0200  
    Browse Dir »
  • Compute model values only for bins that are within the energy boundaries of the observation.
    28a6964e
    Jürgen Knödlseder authored
    2014-10-10 10:50:30 +0200  
    Browse Dir »

09 Oct, 2014
10 commits
  • Add ctselect::time_reference() method to access the CTA time reference.
    3faf3764
    Jürgen Knödlseder authored
    2014-10-09 23:58:00 +0200  
    Browse Dir »
  • Change ctmodel logic in a way similar to ctbin. ...
    8af322b8
    ctmodel now always produces a single model cube on output. There are two important input parameters: "infile" and "obsfile". "infile" specifies a counts or model cube that is used to define the binning of the model cube. The functionnality for this parameter is as before. If "infile=NONE", the cube will be defined according to task parameters that specify the spatial and the energy binning. The "obsfile" parameter is new and allows specifying the observation definition for which the model cube should be computed. If an event list or a counts cube is presented, the pointing and Good Time Intervals will be extracted from the FITS file header. If an observation definition XML file is presented, ctmodel will now loop over all CTA observations in the file and add the model values to the model cube. If no response information is associated to the "obsfile" (which is typically the case for event lists or counts cubes), the "caldb" and "irf" parameters will be used to identify the response.
    Jürgen Knödlseder authored
    2014-10-09 23:46:27 +0200  
    Browse Dir »
  • Merge branch '1329-ctselect-fits-time-conversion' into integration
    8504dd70
    Jürgen Knödlseder authored
    2014-10-09 16:50:11 +0200  
    Browse Dir »
  • Code revision before merging
    de1feffa
    Jürgen Knödlseder authored
    2014-10-09 16:49:58 +0200  
    Browse Dir »
  • tweaked the comment
    fc1afa2f
    Nathan Kelley-Hoskins authored
    2014-10-09 14:27:12 +0200  
    Browse Dir »
  • reformatted the working code
    7ca1a3a6
    Nathan Kelley-Hoskins authored
    2014-10-09 14:21:57 +0200  
    Browse Dir »
  • found the right reference to use
    20377616
    Nathan Kelley-Hoskins authored
    2014-10-09 14:16:30 +0200  
    Browse Dir »
  • trying to convert with obs->events().reference()
    aa88abe0
    Nathan Kelley-Hoskins authored
    2014-10-09 14:13:21 +0200  
    Browse Dir »
  • added printout of timref
    18b2b71f
    Nathan Kelley-Hoskins authored
    2014-10-09 13:57:24 +0200  
    Browse Dir »
  • alternate time reference format
    be807ea6
    Nathan Kelley-Hoskins authored
    2014-10-09 13:52:14 +0200  
    Browse Dir »

08 Oct, 2014
5 commits
  • fixed pointer syntax
    6f6a4e9b
    Nathan Kelley-Hoskins authored
    2014-10-08 19:05:06 +0200  
    Browse Dir »
  • convert using gti's time reference
    1a69cac1
    Nathan Kelley-Hoskins authored
    2014-10-08 19:03:53 +0200  
    Browse Dir »
  • convert straight to .secs()
    f0b7e1de
    Nathan Kelley-Hoskins authored
    2014-10-08 18:59:58 +0200  
    Browse Dir »
  • back to normal buggy fits time conversion
    a8dbfe35
    Nathan Kelley-Hoskins authored
    2014-10-08 18:11:49 +0200  
    Browse Dir »
  • just using secs()
    0d0b8c27
    Nathan Kelley-Hoskins authored
    2014-10-08 14:45:56 +0200  
    Browse Dir »