Logo white

Francois Brun / ctools

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Snippets
  • Commits 1,725
  • Compare
  • Branches 11
  • Tags 17
  • ctools
  • scripts
  • cta_make_nodes.py
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 »