from fact.analysis.source import calc_off_position
and
from ctapipe.coordinates import CameraFrame
astropy raises ValueError: Representation class planar already defined, because both packages internally define representation.PlanarRepresentation, which is exactly the same in both packages (in pyfact copied from ctapipe).
One can bypass this problem as shown here. Alternatively one can push the PlanarRepresentation to astropy.
When using
and
astropy raises
ValueError: Representation class planar already defined
, because both packages internally definerepresentation.PlanarRepresentation
, which is exactly the same in both packages (in pyfact copied from ctapipe).One can bypass this problem as shown here. Alternatively one can push the
PlanarRepresentation
to astropy.Further discussion in this Astropy Issue.