File tree 5 files changed +6
-6
lines changed
5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ before_install:
16
16
- pip install --upgrade pip
17
17
18
18
install :
19
- - pip install restructuredtext-lint sphinx pygments
19
+ - pip install restructuredtext-lint sphinx~=1.8 pygments
20
20
- pip install .
21
21
22
22
script :
Original file line number Diff line number Diff line change 1
- 0.22.1
1
+ 0.22.2
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ def power_law(
58
58
Simple power law
59
59
60
60
.. math::
61
- \phi = \phi_0 \cdot (E / E_{} \mathrm{ref}})^{\gamma}
61
+ \phi = \phi_0 \cdot (E / E_{\mathrm{ref}})^{\gamma}
62
62
63
63
Parameters
64
64
----------
Original file line number Diff line number Diff line change 16
16
from astropy .coordinates .representation import CartesianRepresentation
17
17
import astropy .units as u
18
18
19
- from .representation import PlanarRepresentation
19
+ from .representation import FACTPlanarRepresentation
20
20
from ..instrument .constants import FOCAL_LENGTH_MM , LOCATION
21
21
import numpy as np
22
22
@@ -44,7 +44,7 @@ class CameraFrame(BaseCoordinateFrame):
44
44
False means x points up and y points left,
45
45
which is definition in the original FACTPixelMap file.
46
46
'''
47
- default_representation = PlanarRepresentation
47
+ default_representation = FACTPlanarRepresentation
48
48
pointing_direction = CoordinateAttribute (frame = AltAz , default = None )
49
49
obstime = TimeAttribute (default = None )
50
50
location = EarthLocationAttribute (default = LOCATION )
Original file line number Diff line number Diff line change 4
4
import numpy as np
5
5
6
6
7
- class PlanarRepresentation (BaseRepresentation ):
7
+ class FACTPlanarRepresentation (BaseRepresentation ):
8
8
'''
9
9
Representation of a point in a 2D plane. This is needed for coordinate
10
10
frames to store their coordinates internally.
You can’t perform that action at this time.
0 commit comments