From 04fd3178006339c2a395bcef3a27647b13e82026 Mon Sep 17 00:00:00 2001 From: Tyler Cox Date: Mon, 9 Sep 2024 10:07:43 -0700 Subject: [PATCH] change interpolator defaults --- fftvis/beams.py | 2 +- fftvis/simulate.py | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/fftvis/beams.py b/fftvis/beams.py index 743e72c..da8aef3 100644 --- a/fftvis/beams.py +++ b/fftvis/beams.py @@ -11,7 +11,7 @@ def _evaluate_beam( freq: float, check: bool = False, spline_opts: dict = None, - interpolation_function: str = "az_za_simple", + interpolation_function: str = "az_za_map_coordinates", ): """Evaluate the beam on the CPU. Simplified version of the `_evaluate_beam_cpu` function in matvis. diff --git a/fftvis/simulate.py b/fftvis/simulate.py index 7bf35bd..eedb736 100644 --- a/fftvis/simulate.py +++ b/fftvis/simulate.py @@ -37,7 +37,7 @@ def simulate_vis( use_feed: str = "x", flat_array_tol: float = 0.0, live_progress: bool = True, - interpolation_function: str = "az_za_simple", + interpolation_function: str = "az_za_map_coordinates", ): """ Parameters: @@ -125,6 +125,7 @@ def simulate_vis( eps=eps, flat_array_tol=flat_array_tol, live_progress=live_progress, + interpolation_function=interpolation_function, ) @@ -143,7 +144,7 @@ def simulate( max_progress_reports: int = 100, live_progress: bool = True, flat_array_tol: float = 0.0, - interpolation_function: str = "az_za_simple", + interpolation_function: str = "az_za_map_coordinates", ): """ Parameters: