Skip to content
Snippets Groups Projects
Commit e3577ea3 authored by Philipp Arras's avatar Philipp Arras
Browse files

Observation: add ant and time to interface

parent f55f8c5d
No related branches found
No related tags found
2 merge requests!28Draft: Ngeht,!27Devel
Pipeline #108953 passed
This commit is part of merge request !27. Comments created here will be created in the context of that merge request.
......@@ -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:
......
# 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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment