Skip to content

Commit

Permalink
Merge pull request #122 from fact-project/fix_planar_collision
Browse files Browse the repository at this point in the history
Fix planar name collision with ctapipe, fixes #121
  • Loading branch information
maxnoe authored Apr 23, 2019
2 parents 413afaf + fde7bb4 commit 8a5eadd
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ before_install:
- pip install --upgrade pip

install:
- pip install restructuredtext-lint sphinx pygments
- pip install restructuredtext-lint sphinx~=1.8 pygments
- pip install .

script:
Expand Down
2 changes: 1 addition & 1 deletion fact/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.22.1
0.22.2
2 changes: 1 addition & 1 deletion fact/analysis/statistics.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def power_law(
Simple power law
.. math::
\phi = \phi_0 \cdot (E / E_{}\mathrm{ref}})^{\gamma}
\phi = \phi_0 \cdot (E / E_{\mathrm{ref}})^{\gamma}
Parameters
----------
Expand Down
4 changes: 2 additions & 2 deletions fact/coordinates/camera_frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from astropy.coordinates.representation import CartesianRepresentation
import astropy.units as u

from .representation import PlanarRepresentation
from .representation import FACTPlanarRepresentation
from ..instrument.constants import FOCAL_LENGTH_MM, LOCATION
import numpy as np

Expand Down Expand Up @@ -44,7 +44,7 @@ class CameraFrame(BaseCoordinateFrame):
False means x points up and y points left,
which is definition in the original FACTPixelMap file.
'''
default_representation = PlanarRepresentation
default_representation = FACTPlanarRepresentation
pointing_direction = CoordinateAttribute(frame=AltAz, default=None)
obstime = TimeAttribute(default=None)
location = EarthLocationAttribute(default=LOCATION)
Expand Down
2 changes: 1 addition & 1 deletion fact/coordinates/representation.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import numpy as np


class PlanarRepresentation(BaseRepresentation):
class FACTPlanarRepresentation(BaseRepresentation):
'''
Representation of a point in a 2D plane. This is needed for coordinate
frames to store their coordinates internally.
Expand Down

0 comments on commit 8a5eadd

Please sign in to comment.