File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ before_install:
1616 - pip install --upgrade pip
1717
1818install :
19- - pip install restructuredtext-lint sphinx pygments
19+ - pip install restructuredtext-lint sphinx~=1.8 pygments
2020 - pip install .
2121
2222script :
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(
5858 Simple power law
5959
6060 .. math::
61- \phi = \phi_0 \cdot (E / E_{} \mathrm{ref}})^{\gamma}
61+ \phi = \phi_0 \cdot (E / E_{\mathrm{ref}})^{\gamma}
6262
6363 Parameters
6464 ----------
Original file line number Diff line number Diff line change 1616from astropy .coordinates .representation import CartesianRepresentation
1717import astropy .units as u
1818
19- from .representation import PlanarRepresentation
19+ from .representation import FACTPlanarRepresentation
2020from ..instrument .constants import FOCAL_LENGTH_MM , LOCATION
2121import numpy as np
2222
@@ -44,7 +44,7 @@ class CameraFrame(BaseCoordinateFrame):
4444 False means x points up and y points left,
4545 which is definition in the original FACTPixelMap file.
4646 '''
47- default_representation = PlanarRepresentation
47+ default_representation = FACTPlanarRepresentation
4848 pointing_direction = CoordinateAttribute (frame = AltAz , default = None )
4949 obstime = TimeAttribute (default = None )
5050 location = EarthLocationAttribute (default = LOCATION )
Original file line number Diff line number Diff line change 44import numpy as np
55
66
7- class PlanarRepresentation (BaseRepresentation ):
7+ class FACTPlanarRepresentation (BaseRepresentation ):
88 '''
99 Representation of a point in a 2D plane. This is needed for coordinate
1010 frames to store their coordinates internally.
You can’t perform that action at this time.
0 commit comments