Logo white

Dmitry Malyshev / ctools

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Snippets
  • Commits 2,230
  • Compare
  • Branches 12
  • Tags 18
  • ctools
  • examples
  • show_ts_distribution.py
03 Aug, 2016
2 commits
  • Remove all global variables from example scripts ...
    ee8348cc
    All global variables have been removed from the example scripts by introducing a main function with the same name as the file that is called from main. Consequently, all variables are local. This is to avoid any problems between global and local scope of variables.
    Jürgen Knödlseder authored
    2016-08-03 01:48:26 +0200  
    Browse File »
  • ctbin::cube() now returns a reference to a member ...
    96842f77
    The building of a cuve on the fly raised issue with memory going out of scope. This is fixed by making the CTA event cube a member of ctbin, and having the cube() method returning a reference to that member
    Jürgen Knödlseder authored
    2016-08-03 00:43:17 +0200  
    Browse File »

02 Aug, 2016
2 commits
  • Correct import exception
    f3f1a514
    Jürgen Knödlseder authored
    2016-08-02 23:52:16 +0200  
    Browse File »
  • Further improvement on Python code quality
    9a1b801f
    Jürgen Knödlseder authored
    2016-08-02 23:36:33 +0200  
    Browse File »

01 Aug, 2016
1 commit
  • Unify interface of example scripts (#1828) ...
    bdcd55cc
    All example scripts now use the cscripts.ioutils.get_args_options() function to get arguments and options.
    Jürgen Knödlseder authored
    2016-08-01 21:35:32 +0200  
    Browse File »

12 Jul, 2016
1 commit
  • Remove unused imports
    773ad107
    Jürgen Knödlseder authored
    2016-07-12 08:21:54 +0200  
    Browse File »

25 Jun, 2016
1 commit
  • Complete adding of unit tests for all example scripts
    8590d486
    Jürgen Knödlseder authored
    2016-06-25 23:38:12 +0200  
    Browse File »

24 Jun, 2016
1 commit
  • Update example scripts
    31a1247f
    Jürgen Knödlseder authored
    2016-06-24 17:13:30 +0200  
    Browse File »

03 Jul, 2015
2 commits
  • Fix Python source code formatting (PEP8) ...
    5c53c14a
    This command was run:
      autopep8 --select E101,W191 --in-place --recursive .
    
    It fixes only these two issues:
      - W191 indentation contains tabs
      - E101 indentation contains mixed spaces and tabs
    Christoph Deil authored
    2015-07-03 17:19:41 +0200  
    Browse File »
  • Misc Python formatting / import fixes in examples
    d46008b1
    Christoph Deil authored
    2015-07-03 17:17:35 +0200  
    Browse File »

22 Aug, 2012
1 commit
  • 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 File »

10 Aug, 2011
1 commit
  • add options and cumulative histogram
    563201b4
    knodlseder authored
    2011-08-10 20:42:13 +0000  
    Browse File »

05 Aug, 2011
1 commit
  • add filename to histogram title
    a1ebb7f8
    knodlseder authored
    2011-08-05 23:30:13 +0000  
    Browse File »

04 Aug, 2011
1 commit
  • show log histogram
    081224fa
    knodlseder authored
    2011-08-04 03:56:46 +0000  
    Browse File »

03 Aug, 2011
1 commit
  • initial version
    729ebbcc
    knodlseder authored
    2011-08-03 23:33:06 +0000  
    Browse File »