Skip to content

Commit 7e955ff

Browse files
committed
Automatic multi-file rename: tevpy -> gammapy
1 parent e75e0db commit 7e955ff

47 files changed

Lines changed: 147 additions & 147 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,6 @@ MANIFEST
4444

4545
*.ipynb_checkpoints
4646

47-
tevpy/tevpy.cfg
47+
gammapy/gammapy.cfg
4848

4949
docs/_generated

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
include README.rst
22

33
include distribute_setup.py
4-
recursive-include tevpy *.pyx *.c
4+
recursive-include gammapy *.pyx *.c
55

66
recursive-include docs *
77
recursive-include licenses *

README.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
tevpy
1+
gammapy
22
=====
33

44
TeV gamma-ray astronomy high-level data analysis Python package
55

6-
* Code: https://github.com/gammapy/tevpy
7-
* Docs: https://tevpy.readthedocs.org/
6+
* Code: https://github.com/gammapy/gammapy
7+
* Docs: https://gammapy.readthedocs.org/
88

9-
.. image:: https://travis-ci.org/gammapy/tevpy.png
10-
:target: https://travis-ci.org/gammapy/tevpy
9+
.. image:: https://travis-ci.org/gammapy/gammapy.png
10+
:target: https://travis-ci.org/gammapy/gammapy

docs/conf.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,19 +46,19 @@
4646
# -- Project information ------------------------------------------------------
4747

4848
# This does not *have* to match the package name, but typically does
49-
project = u'tevpy'
50-
author = u'The tevpy Developers'
49+
project = u'gammapy'
50+
author = u'The gammapy Developers'
5151
copyright = u'2012, ' + author
5252

5353
# The version info for the project you're documenting, acts as replacement for
5454
# |version| and |release|, also used in various other places throughout the
5555
# built documents.
5656

57-
import tevpy
57+
import gammapy
5858
# The short X.Y version.
59-
version = tevpy.__version__.split('-', 1)[0]
59+
version = gammapy.__version__.split('-', 1)[0]
6060
# The full version, including alpha/beta/rc tags.
61-
release = tevpy.__version__
61+
release = gammapy.__version__
6262

6363

6464
# -- Options for HTML output ---------------------------------------------------
@@ -95,7 +95,7 @@
9595

9696
# First TeV gamma-ray image: the supernova remnant RX J1713 with HESS
9797
# http://apod.nasa.gov/apod/ap041105.html
98-
html_favicon = '_static/tevpy_logo.ico'
98+
html_favicon = '_static/gammapy_logo.ico'
9999

100100
# TODO: set this image also in the title bar
101101
# (html_logo is not the right option)
@@ -134,8 +134,8 @@
134134

135135
# Don't import the module as "version" or it will override the
136136
# "version" configuration parameter
137-
from tevpy import version as versionmod
138-
edit_on_github_project = "gammapy/tevpy"
137+
from gammapy import version as versionmod
138+
edit_on_github_project = "gammapy/gammapy"
139139
if versionmod.release:
140140
edit_on_github_branch = "v" + versionmod.version
141141
else:

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ this package is here:
77
.. toctree::
88
:maxdepth: 2
99

10-
tevpy/index.rst
10+
gammapy/index.rst
1111

1212
.. note:: Do not edit this page - instead, place all documentation for the
1313
affiliated package inside ``packagename/``

docs/tevpy/astro/index.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
**********************************************************
2-
Astrophysical source and population models (`tevpy.astro`)
2+
Astrophysical source and population models (`gammapy.astro`)
33
**********************************************************
44

5-
.. currentmodule:: tevpy.astro
5+
.. currentmodule:: gammapy.astro
66

77
Introduction
88
============
99

10-
`tevpy.astro` implements some common astrophysical source and population models.
10+
`gammapy.astro` implements some common astrophysical source and population models.
1111

1212
TODO: describe
1313

@@ -19,5 +19,5 @@ TODO: describe
1919
Reference/API
2020
=============
2121

22-
.. automodapi:: tevpy.astro
22+
.. automodapi:: gammapy.astro
2323
:no-inheritance-diagram:

docs/tevpy/background/index.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
********************************************************
2-
Background estimation and modeling (`tevpy.background`)
2+
Background estimation and modeling (`gammapy.background`)
33
********************************************************
44

5-
.. currentmodule:: tevpy.background
5+
.. currentmodule:: gammapy.background
66

77
Introduction
88
============
99

10-
`tevpy.background` contains methods to estimate and model background.
10+
`gammapy.background` contains methods to estimate and model background.
1111

1212
At the moment it also contains a lot of image-processing related functionality
1313
that maybe should be split into a separate `image` package.
1414

15-
The main data structure is the `~tevpy.background.maps.Maps` container ... TODO
15+
The main data structure is the `~gammapy.background.maps.Maps` container ... TODO
1616

1717
Most of the methods implemented are described in [Berge2007]_.
1818
Section 7.3 "Background subtraction"
@@ -25,6 +25,6 @@ Getting Started
2525

2626
TODO
2727

28-
.. automodapi:: tevpy.background
28+
.. automodapi:: gammapy.background
2929
:no-inheritance-diagram:
3030

docs/tevpy/data/formats/run_lists.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Usually it has many more columns with information about each run::
3131
Run,Telescope_Pattern,Date,Duration,GLON,GLAT,Target,Zenith
3232
1234,24,2013-03-22 14:32,1832,83.7,-5.2,Crab Nebula,32
3333

34-
Special column names that the `tevpy` analysis tools understand:
34+
Special column names that the `gammapy` analysis tools understand:
3535

3636
* `Run` --- Run number (int)
3737
* `Telescope_Pattern` --- Binary pattern describing which telescopes participated in the run

docs/tevpy/data/index.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
***********************
2-
Datasets (`tevpy.data`)
2+
Datasets (`gammapy.data`)
33
***********************
44

5-
.. currentmodule:: tevpy.data
5+
.. currentmodule:: gammapy.data
66

77
Introduction
88
============
99

10-
`tevpy.data` holds a few datasets used in the examples and tests.
11-
Some are included with `tevpy`, some are downloaded from the web via
10+
`gammapy.data` holds a few datasets used in the examples and tests.
11+
Some are included with `gammapy`, some are downloaded from the web via
1212

13-
>>> import tevpy.data
14-
>>> tevpy.data.download_datasets()
13+
>>> import gammapy.data
14+
>>> gammapy.data.download_datasets()
1515

1616
TODO: Give summary table of available datasets here.
1717

@@ -31,5 +31,5 @@ TODO: give an example.
3131
Reference/API
3232
=============
3333

34-
.. automodapi:: tevpy.data
34+
.. automodapi:: gammapy.data
3535
:no-inheritance-diagram:

docs/tevpy/detect/index.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
***************************************
2-
Source detection tools (`tevpy.detect`)
2+
Source detection tools (`gammapy.detect`)
33
***************************************
44

5-
.. currentmodule:: tevpy.detect
5+
.. currentmodule:: gammapy.detect
66

77
Introduction
88
============
99

10-
`tevpy.detect` holds source detection methods that turn event lists or images or cubes
10+
`gammapy.detect` holds source detection methods that turn event lists or images or cubes
1111
into source catalogs.
1212

1313
* TODO: Describe references: [Stewart2009]_
@@ -24,21 +24,21 @@ Getting Started
2424
Reference/API
2525
=============
2626

27-
.. automodapi:: tevpy.detect.blob
27+
.. automodapi:: gammapy.detect.blob
2828
:no-inheritance-diagram:
2929

30-
.. automodapi:: tevpy.detect.cwt
30+
.. automodapi:: gammapy.detect.cwt
3131
:no-inheritance-diagram:
3232

33-
.. automodapi:: tevpy.detect.matched_filter
33+
.. automodapi:: gammapy.detect.matched_filter
3434
:no-inheritance-diagram:
3535

36-
.. automodapi:: tevpy.detect.sex
36+
.. automodapi:: gammapy.detect.sex
3737
:no-inheritance-diagram:
3838

39-
.. automodapi:: tevpy.detect.test_statistic
39+
.. automodapi:: gammapy.detect.test_statistic
4040
:no-inheritance-diagram:
4141

42-
.. automodapi:: tevpy.detect.utils
42+
.. automodapi:: gammapy.detect.utils
4343
:no-inheritance-diagram:
4444

0 commit comments

Comments
 (0)