Processing math: 100%
SciPy

This is documentation for an old release of SciPy (version 0.17.1). Read this page in the documentation of the latest stable release (version 1.15.1).

scipy.special.ellip_harm_2

scipy.special.ellip_harm_2(h2, k2, n, p, s)[source]

Ellipsoidal harmonic functions F^p_n(l)

These are also known as Lame functions of the second kind, and are solutions to the Lame equation:

(s2h2)(s2k2)F(s)+s(2s2h2k2)F(s)+(aqs2)F(s)=0

where q=(n+1)n and a is the eigenvalue (not returned) corresponding to the solutions.

Parameters:

h2 : float

h**2

k2 : float

k**2; should be larger than h**2

n : int

Degree.

p : int

Order, can range between [1,2n+1].

s : float

Coordinate

Returns:

F : float

The harmonic Fpn(s)

Notes

Lame functions of the second kind are related to the functions of the first kind:

Fpn(s)=(2n+1)Epn(s)1/s0du(Epn(1/u))2(1u2k2)(1u2h2)

New in version 0.15.0.

Examples

>>>
>>> from scipy.special import ellip_harm_2
>>> w = ellip_harm_2(5,8,2,1,10)
>>> w
0.00108056853382