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
9cdb06d8
Commit
9cdb06d8
authored
2 years ago
by
Philipp Arras
Browse files
Options
Downloads
Patches
Plain Diff
Observation: Add functions
parent
6c6919b6
No related branches found
No related tags found
1 merge request
!37
Draft: Observation: introduce __hash__
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
resolve/data/observation.py
+6
-0
6 additions, 0 deletions
resolve/data/observation.py
with
6 additions
and
0 deletions
resolve/data/observation.py
+
6
−
0
View file @
9cdb06d8
...
@@ -717,6 +717,12 @@ class Observation(BaseObservation):
...
@@ -717,6 +717,12 @@ class Observation(BaseObservation):
return
[
f
"
{
a
}
{
b
}
"
for
a
,
b
in
zip
(
tab
[
"
NAME
"
],
tab
[
"
STATION
"
])]
return
[
f
"
{
a
}
{
b
}
"
for
a
,
b
in
zip
(
tab
[
"
NAME
"
],
tab
[
"
STATION
"
])]
raise
NotImplementedError
(
"
ANTENNA subtable not available.
"
)
raise
NotImplementedError
(
"
ANTENNA subtable not available.
"
)
def
antenna_name2index
(
self
,
name
):
raise
NotImplementedError
def
antenna_index2name
(
self
,
index
):
raise
NotImplementedError
@property
@property
def
antenna_coordinates
(
self
):
def
antenna_coordinates
(
self
):
# FIXME Merge this into AntennaPositions
# FIXME Merge this into AntennaPositions
...
...
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