Logo white

Olga Sergijenko / ctools

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Snippets
  • Commits 3,529
  • Compare
  • Branches 27
  • Tags 37
  • ctools
  • examples
  • show_spectrum.py
15 Jul, 2020
3 commits
  • Fix show_spectrum.py script in case that no upper limits exist
    e17cd5ff
    Jürgen Knödlseder authored
    2020-07-15 21:19:50 +0200  
    Browse File »
  • Add comment
    4b9d4196
    Jürgen Knödlseder authored
    2020-07-15 20:03:22 +0200  
    Browse File »
  • Fix show_spectrum.py for all matplotlib versions
    534b26f1
    Jürgen Knödlseder authored
    2020-07-15 19:59:19 +0200  
    Browse File »

10 Feb, 2020
1 commit
  • Merge in code
    5a2aa22f
    Jürgen Knödlseder authored
    2020-02-10 11:19:39 +0100  
    Browse File »

19 Dec, 2019
1 commit
  • Cleanup example script 'show_spectrum.py' (#2938)
    2aed4a87
    Josh Cardenzana authored
    2019-12-19 11:19:54 +0100  
    Browse File »

16 Dec, 2019
5 commits
  • Change import order in 'show_spectrum.py' to prevent errors ...
    abdfd7c7
    These errors showed up when importing matplotlib before gammalib
    Josh Cardenzana authored
    2019-12-16 15:42:35 +0100  
    Browse File »
  • Remove need for 'math' module in show_spectrum.py (#2938)
    df630617
    Josh Cardenzana authored
    2019-12-16 15:42:35 +0100  
    Browse File »
  • (#2938) Adjust column name formatting in csspec fits files ...
    74c93801
    This ensures the SED fits files are consistent with the current suggested data format
    Josh Cardenzana authored
    2019-12-16 15:42:35 +0100  
    Browse File »
  • (#2938) Rename fits column names to be consistent with gamma-astro data-format
    b88ee4d5
    Josh Cardenzana authored
    2019-12-16 15:42:35 +0100  
    Browse File »
  • Add support for generating likelihood profiles in csspec ...
    1729ff4a
    Update 'show_spectrum.py' to also plot the spectral profiles
    Josh Cardenzana authored
    2019-12-16 15:42:35 +0100  
    Browse File »

10 Jul, 2019
1 commit
  • Integrate code
    9d485f9c
    Jürgen Knödlseder authored
    2019-07-10 22:19:47 +0200  
    Browse File »

02 Jul, 2019
1 commit
  • (#2925) Add 'get_spectrum_file()' and 'get_spectrum_fits()' methods ...
    77d33993
    Allows extracting SED parameters for plotting
    Josh Cardenzana authored
    2019-07-02 21:05:40 +0200  
    Browse File »

06 Mar, 2019
1 commit
  • Change order of imports in show_spectrum.py (cf. Martina Cardillo)
    f11482c0
    Jürgen Knödlseder authored
    2019-03-06 15:29:49 +0100  
    Browse File »

28 Nov, 2017
1 commit
  • fixed y axis label
    65c04605
    Luigi Tibaldo authored
    2017-11-28 17:25:01 +0100  
    Browse File »

02 Oct, 2017
1 commit
  • Set upper limits error bars in show_spectrum.py to fraction of flux
    5e03ca0d
    Jürgen Knödlseder authored
    2017-10-02 10:33:00 +0200  
    Browse File »

26 Jan, 2017
1 commit
  • Add show_lightcurve example script
    fe07c6cf
    Jürgen Knödlseder authored
    2017-01-26 14:51:20 +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
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 »

10 Feb, 2016
1 commit
  • Correct units in plot displayed by show_spectrum.py.
    02904380
    Jürgen Knödlseder authored
    2016-02-10 12:00:52 +0100  
    Browse File »

03 Jul, 2015
1 commit
  • 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 »

29 Jun, 2015
1 commit
  • Add show_spectrum.py script
    aabec45b
    Jürgen Knödlseder authored
    2015-06-29 09:19:40 +0200  
    Browse File »