Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
resolve
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ift
resolve
Commits
e3577ea3
Commit
e3577ea3
authored
3 years ago
by
Philipp Arras
Browse files
Options
Downloads
Patches
Plain Diff
Observation: add ant and time to interface
parent
f55f8c5d
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!28
Draft: Ngeht
,
!27
Devel
Pipeline
#108953
passed
3 years ago
Stage: build_docker
Stage: testing
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
resolve/data/observation.py
+12
-0
12 additions, 0 deletions
resolve/data/observation.py
resolve/polarization_space.py
+3
-14
3 additions, 14 deletions
resolve/polarization_space.py
with
15 additions
and
14 deletions
resolve/data/observation.py
+
12
−
0
View file @
e3577ea3
...
@@ -485,6 +485,18 @@ class Observation(BaseObservation):
...
@@ -485,6 +485,18 @@ class Observation(BaseObservation):
def
antenna_positions
(
self
):
def
antenna_positions
(
self
):
return
self
.
_antpos
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
@property
def
direction
(
self
):
def
direction
(
self
):
if
self
.
_auxiliary_tables
is
not
None
and
"
FIELD
"
in
self
.
_auxiliary_tables
:
if
self
.
_auxiliary_tables
is
not
None
and
"
FIELD
"
in
self
.
_auxiliary_tables
:
...
...
This diff is collapsed.
Click to expand it.
resolve/polarization_space.py
+
3
−
14
View file @
e3577ea3
# This program is free software: you can redistribute it and/or modify
# SPDX-License-Identifier: GPL-3.0-or-later
# it under the terms of the GNU General Public License as published by
# Copyright(C) 2021 Max-Planck-Society
# the Free Software Foundation, either version 3 of the License, or
# Author: Philipp Arras, Jakob Knollmüller
# (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
import
nifty8
as
ift
import
nifty8
as
ift
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment