Logo white

Iftach Sadeh / ctools

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Snippets
  • Commits 3,615
  • Compare
  • Branches 30
  • Tags 37
  • ctools
  • scripts
  • cta_make_nodes.py
10 Feb, 2014
1 commit
  • Convert tabs to spaces.
    d9a9c73f
    Jürgen Knödlseder authored
    2014-02-10 11:55:51 +0100  
    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 »

20 Jul, 2012
1 commit
  • Add script to create the node section of a NodeFunction spectral model. ...
    0417bf5c
    The script cta_make_nodes.py can be used to create the node section of a NodeFunction XML model. It initialises the energy values with a logarithmic binning, and sets initial intensity values using a Crab spectrum based on a power law function.
    Jürgen Knödlseder authored
    2012-07-20 23:23:39 +0200  
    Browse File »