Skip to content

Commit

Permalink
cleanup handling for older scipy versions that we don't support anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
bhazelton committed Mar 23, 2024
1 parent 23a4c97 commit c807002
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions pyuvdata/uvdata/mwa_corr_fits.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,9 @@
from astropy.io import fits
from astropy.time import Time
from docstring_parser import DocstringStyle
from scipy.integrate import simpson
from scipy.special import erf

try:
# TODO: Make this the only line we use once scipy >= 1.11 is required.
from scipy.integrate import simpson
except ImportError:
# Fallback to simps if working with an older version of scipy
from scipy.integrate import simps as simpson

from pyuvdata.data import DATA_PATH

from .. import _corr_fits
Expand Down

0 comments on commit c807002

Please sign in to comment.