Skip to content

Commit

Permalink
flake8 cleanup in data/*.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rpoleski committed Dec 21, 2023
1 parent 25fd6ee commit 9db2668
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
3 changes: 0 additions & 3 deletions data/interpolate_elliptic_integral_1_2.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@
Calculates interpolation tables for elliptical integral of
the first and second kind.
"""
import math
import numpy as np
from math import sin, cos, sqrt
from scipy import integrate
from scipy.interpolate import interp1d
from scipy.special import ellipk, ellipe
# These are complete elliptic integrals of the first and the second kind.
Expand Down
5 changes: 0 additions & 5 deletions data/interpolate_elliptic_integral_3.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
"""
Calculates interpolation tables for elliptical integral of the third kind.
"""
# import math
import numpy as np
# from math import sin, cos, sqrt
import scipy
# from scipy import integrate
from scipy.interpolate import interp2d # , interp1d
from scipy.interpolate import RegularGridInterpolator as RGI
from sympy.functions.special.elliptic_integrals import elliptic_pi as ellip3
Expand All @@ -24,7 +20,6 @@


def get_ellip(x, y):
p = []
z = np.zeros((len(x), len(y)))
for (i, x_) in enumerate(x):
for (j, y_) in enumerate(y):
Expand Down

0 comments on commit 9db2668

Please sign in to comment.