Logo white

Iftach Sadeh / ctools

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Snippets
  • Commits 3,615
  • Compare
  • Branches 30
  • Tags 37
  • ctools
  • examples
  • show_pha.py
02 Dec, 2020
1 commit
  • Import matplotlib first in example scripts (#3260)
    88dd060b
    Jürgen Knödlseder authored
    2020-12-02 08:37:02 +0100  
    Browse File »

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 »

25 Jun, 2016
5 commits
  • Complete adding of unit tests for all example scripts
    8590d486
    Jürgen Knödlseder authored
    2016-06-25 23:38:12 +0200  
    Browse File »
  • Correct Python plotting format
    ce0042b4
    Jürgen Knödlseder authored
    2016-06-25 14:44:39 +0200  
    Browse File »
  • Check also opening of figure in matplotlib test
    ecd8254d
    Jürgen Knödlseder authored
    2016-06-25 10:12:08 +0200  
    Browse File »
  • Do not exist with non-zero sys.exit() in case that matplotlib is not installed
    d9b8269c
    Jürgen Knödlseder authored
    2016-06-25 01:44:55 +0200  
    Browse File »
  • Add more example scripts to unit test
    03b0aa5a
    Jürgen Knödlseder authored
    2016-06-25 01:24:57 +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 »

19 Nov, 2013
1 commit
  • Add PHA spectrum display script.
    a6dd93fd
    Jürgen Knödlseder authored
    2013-11-19 15:50:50 +0100  
    Browse File »