diff --git a/resolve/data/observation.py b/resolve/data/observation.py index 73407d08ca6d52836ae6de400100c6936ef9297e..269d00f85172cc2c8e57afcbc00224901680482b 100644 --- a/resolve/data/observation.py +++ b/resolve/data/observation.py @@ -485,6 +485,18 @@ class Observation(BaseObservation): def antenna_positions(self): return self._antpos + @property + def ant1(self): + return self._antpos.ant1 + + @property + def ant2(self): + return self._antpos.ant2 + + @property + def time(self): + return self._antpos.time + @property def direction(self): if self._auxiliary_tables is not None and "FIELD" in self._auxiliary_tables: diff --git a/resolve/polarization_space.py b/resolve/polarization_space.py index 380681fb93a6845312dc235d53d714386f94fd05..5cb209e8a87eb694df51688fe7e1c4ab0011779b 100644 --- a/resolve/polarization_space.py +++ b/resolve/polarization_space.py @@ -1,17 +1,6 @@ -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. -# -# Copyright(C) 2013-2021 Max-Planck-Society +# SPDX-License-Identifier: GPL-3.0-or-later +# Copyright(C) 2021 Max-Planck-Society +# Author: Philipp Arras, Jakob Knollmüller import nifty8 as ift