Skip to content
Snippets Groups Projects
Commit 05714f4b authored by Julian Rüstig's avatar Julian Rüstig
Browse files

j0751: likelihood can take centerxy

parent 73481102
No related branches found
No related tags found
No related merge requests found
Pipeline #242457 failed
......@@ -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
......
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment