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
2e7e8234
Commit
2e7e8234
authored
3 years ago
by
Philipp Arras
Browse files
Options
Downloads
Patches
Plain Diff
Formatting
parent
ca065f9f
No related branches found
No related tags found
No related merge requests found
Pipeline
#106358
passed
3 years ago
Stage: build_docker
Stage: testing
Stage: release
Stage: deploy
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
resolve/data/antenna_positions.py
+3
-2
3 additions, 2 deletions
resolve/data/antenna_positions.py
resolve/library/calibrators.py
+2
-1
2 additions, 1 deletion
resolve/library/calibrators.py
with
5 additions
and
3 deletions
resolve/data/antenna_positions.py
+
3
−
2
View file @
2e7e8234
...
...
@@ -113,8 +113,9 @@ class AntennaPositions:
Returns
-------
numpy.ndarray: Entries of `data` that correspond to the selected
baseline. Shape `(n_pol, n_time, n_freq)`.
numpy.ndarray
Entries of `data` that correspond to the selected baseline. Shape
`(n_pol, n_time, n_freq)`.
"""
if
np
.
any
(
self
.
ant1
>
self
.
ant2
):
raise
RuntimeError
(
"
This algorithm assumes ant1<ant2.
"
)
...
...
This diff is collapsed.
Click to expand it.
resolve/library/calibrators.py
+
2
−
1
View file @
2e7e8234
...
...
@@ -21,7 +21,8 @@ def calibrator_spectrum(nu, src):
Returns
-------
float or np.ndarray : calibrator spectrum
float or np.ndarray
calibrator spectrum
Note
----
...
...
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