Commit 3fb7f249c5bb1aea7c477e06d862df694d2eeea2
1 parent
3ebba0a5
Remove cast.
Showing
1 changed file
with
0 additions
and
2 deletions
inst/mwl/test/test_python.py
| ... | ... | @@ -93,8 +93,6 @@ def fit_spectrum(filename, xmlname): |
| 93 | 93 | yval = 0.0 |
| 94 | 94 | for model in obs.models(): |
| 95 | 95 | if model.type() == "PointSource": |
| 96 | - # crab = cast_GModelSky(model) | |
| 97 | - # if crab != None: | |
| 98 | 96 | yval += model.value(d, e, t) * energy * energy * 1.6021765e-6 |
| 99 | 97 | y.append(yval) |
| 100 | 98 | plt.plot(x, y) | ... | ... |