Skip to content

Commit

Permalink
change interpolator defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
tyler-a-cox committed Sep 9, 2024
1 parent e67ebea commit 04fd317
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion fftvis/beams.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
5 changes: 3 additions & 2 deletions fftvis/simulate.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -125,6 +125,7 @@ def simulate_vis(
eps=eps,
flat_array_tol=flat_array_tol,
live_progress=live_progress,
interpolation_function=interpolation_function,
)


Expand All @@ -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:
Expand Down

0 comments on commit 04fd317

Please sign in to comment.