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
05714f4b
Commit
05714f4b
authored
3 months ago
by
Julian Rüstig
Browse files
Options
Downloads
Patches
Plain Diff
j0751: likelihood can take centerxy
parent
73481102
No related branches found
No related tags found
No related merge requests found
Pipeline
#242457
failed
3 months ago
Stage: build_docker
Stage: testing
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
resolve/likelihood.py
+4
-0
4 additions, 0 deletions
resolve/likelihood.py
resolve/mosaicing/sky_beamer.py
+1
-0
1 addition, 0 deletions
resolve/mosaicing/sky_beamer.py
with
5 additions
and
0 deletions
resolve/likelihood.py
+
4
−
0
View file @
05714f4b
...
...
@@ -42,6 +42,8 @@ def ImagingLikelihood(
calibration_field
=
None
,
verbosity
=
0
,
nthreads
=
1
,
center_x
=
0
,
center_y
=
0
,
):
"""
Versatile likelihood class.
...
...
@@ -123,6 +125,8 @@ def ImagingLikelihood(
epsilon
=
epsilon
,
verbosity
=
verbosity
,
nthreads
=
nthreads
,
center_x
=
center_x
,
center_y
=
center_y
,
).
ducktape
(
internal_sky_key
)
if
cop
is
not
None
:
from
.dtype_converter
import
DtypeConverter
...
...
This diff is collapsed.
Click to expand it.
resolve/mosaicing/sky_beamer.py
+
1
−
0
View file @
05714f4b
...
...
@@ -142,6 +142,7 @@ def build_sky_beamer(
):
direction
=
oo
.
direction_from_key
(
direction_key
)
# FIXME : PHASE CENTER AND SKY FRAME MUST NOT NECESSARILY be the same.
o_phase_center
=
SkyCoord
(
direction
.
phase_center
[
0
]
*
u
.
rad
,
direction
.
phase_center
[
1
]
*
u
.
rad
,
frame
=
sky_center
.
frame
)
...
...
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