Commit d6f6ec21900f22d6207678f5fbb08e9c5258f3ea

Authored by Jürgen Knödlseder
1 parent c01169b7

Adapt code

Showing 1 changed file with 11 additions and 9 deletions
pyext/ctools/plotutils.py
... ... @@ -2,7 +2,7 @@
2 2 # This script provides a number of functions that are useful for handling
3 3 # CTA observations.
4 4 #
5   -# Copyright (C) 2011-2014 Juergen Knoedlseder
  5 +# Copyright (C) 2014 Rolf Buehler
6 6 #
7 7 # This program is free software: you can redistribute it and/or modify
8 8 # it under the terms of the GNU General Public License as published by
... ... @@ -31,19 +31,21 @@ try:
31 31 except:
32 32 has_aplpy = False
33 33  
34   -# ===================== #
35   -# Plot skymaps #
36   -# ===================== #
  34 +
  35 +# ============= #
  36 +# Plot skymaps #
  37 +# ============= #
37 38 def plotskymaps(modelmap, countmap):
38 39 """
39   - Plot the model map
40   -
41   - Keywords:
  40 + Plot the model map.
  41 +
  42 + Parameters:
42 43 modname - model input name
43 44 evtname - events input name
  45 + Keywords:
  46 + None
44 47 """
45   -
46   - # load model map
  48 + # Load model map
47 49 fig = plt.figure()
48 50 f1 = aplpy.FITSFigure(countmap, figure=fig, subplot=[0.1,0.1,0.35,0.8])
49 51 f1.set_tick_labels_font(size='small')
... ...