@@ -6,36 +6,36 @@ Introduction
6
6
Show me some code!
7
7
------------------
8
8
9
- `tevpy ` gives you easy access to some frequently used methods in TeV gamma-ray astronomy from Python.
9
+ `gammapy ` gives you easy access to some frequently used methods in TeV gamma-ray astronomy from Python.
10
10
11
11
What's the statistical significance when 10 events have been observed with a known background level of 4.2
12
12
according to [LiMa1983 ]_?
13
- `tevpy .stats ` knows::
13
+ `gammapy .stats ` knows::
14
14
15
- >>> from tevpy .stats import significance
15
+ >>> from gammapy .stats import significance
16
16
>>> significance(n_observed=10, mu_background=4.2, method='lima')
17
17
2.3979181291475453
18
18
19
19
What's the differential gamma-ray flux and spectral index of the Crab nebula at 3 TeV
20
20
according to [Meyer2010 ]_?
21
- `tevpy .spec ` knows::
21
+ `gammapy .spec ` knows::
22
22
23
- >>> from tevpy .spec import crab
23
+ >>> from gammapy .spec import crab
24
24
>>> energy = 3
25
25
>>> crab.diff_flux(energy, ref='meyer')
26
26
1.8993523278650278e-12
27
27
>>> crab.spectral_index(energy, ref='meyer')
28
28
2.6763224503600429
29
29
30
- All functionality is in subpackages (e.g. `tevpy .stats ` or `tevpy .spec `) ...
30
+ All functionality is in subpackages (e.g. `gammapy .stats ` or `gammapy .spec `) ...
31
31
browse their docs (see list below) to see if it contains the methods you want.
32
32
33
33
But I don't know how to code in Python!
34
34
---------------------------------------
35
35
36
36
Hmm ... OK.
37
37
38
- Some of the `tevpy ` functionality can be called from command line tools.
38
+ Some of the `gammapy ` functionality can be called from command line tools.
39
39
40
40
But, to be honest, if you're an astronomer, you should learn to code in Python.
41
41
Start at http://python4astronomers.github.io or `here <http://www.astropy.org >`_
@@ -65,11 +65,11 @@ Other related packages
65
65
There are several other great open source packages for
66
66
TeV data analysis (alphabetical order):
67
67
68
- * `act-analysis `_ --- a similar package as ``tevpy `` by Karl Kosack
68
+ * `act-analysis `_ --- a similar package as ``gammapy `` by Karl Kosack
69
69
* `gammafits `_ --- an SED modeling and fitting package by Victor Zabalza
70
70
* `gammalib `_ and `ctools `_ --- Gamma-ray data analysis library and tools by Jürgen Knödlseder
71
71
* `gamma-speed `_ --- benchmarking of TeV data analysis tools by Andrei Ignat
72
- * `PyFACT `_ --- a similar package as ``tevpy `` by Martin Raue
72
+ * `PyFACT `_ --- a similar package as ``gammapy `` by Martin Raue
73
73
74
74
.. _act-analysis : https://bitbucket.org/kosack/act-analysis
75
75
.. _PyFACT : http://pyfact.readthedocs.org
0 commit comments