using Plots, SpecialFunctions, Optim, QuadGK
Review of scatteringΒΆ
Consider elastic scattering from a central potential $V(r)$. The asymptotic wavefunction is written as
$$ \psi(\mathbf r) \xrightarrow{r\to\infty} e^{iqr\cos\theta} + f(\theta)\frac{e^{iqr}}{r}, $$
where $q$ is the relative momentum and $f(\theta)$ is the scattering amplitude.
Partial-wave expansionΒΆ
The incident plane wave can be expanded in spherical waves,
$$ e^{iqr\cos\theta} = \sum_{\ell=0}^{\infty} (2\ell+1)i^\ell P_\ell(\cos\theta)j_\ell(qr). $$
The spherical Bessel functions $j_\ell$ and $n_\ell$ have the asymptotic forms
$$ \begin{aligned} j_\ell(qr) &\xrightarrow{r\to\infty} \frac{\sin(qr-\ell\pi/2)}{qr},\\ n_\ell(qr) &\xrightarrow{r\to\infty} -\frac{\cos(qr-\ell\pi/2)}{qr}. \end{aligned} $$
Using these expressions, the asymptotic partial-wave expansion of the incident plane wave becomes
$$ e^{iqr\cos\theta} \sim \sum_{\ell=0}^{\infty} (2\ell+1)P_\ell(\cos\theta) \frac{e^{iqr}-(-1)^\ell e^{-iqr}}{2iqr}. $$
Here, the asymptotic expansion is understood term by term in partial waves.
We also expand the scattering amplitude,
$$ f(\theta) = \sum_{\ell=0}^{\infty} (2\ell+1)P_\ell(\cos\theta)f_\ell(q). $$
Combining the incident and scattered waves gives
$$ \begin{aligned} \psi(\mathbf r) &\sim e^{iqr\cos\theta} + \frac{e^{iqr}}{r} \sum_{\ell=0}^{\infty} (2\ell+1)P_\ell(\cos\theta)f_\ell \\ &\sim \sum_{\ell=0}^{\infty} (2\ell+1)P_\ell(\cos\theta) \frac{ (1+2iqf_\ell)e^{iqr} - (-1)^\ell e^{-iqr} }{2iqr}. \end{aligned} $$
The interaction therefore modifies the coefficient of the outgoing spherical wave relative to the incoming wave. This motivates the definition of the partial-wave S-matrix,
$$ S_\ell=1+2iqf_\ell. $$
For elastic scattering, unitarity requires
$$ |S_\ell|^2=1. $$
We can therefore introduce a real phase shift $\delta_\ell$ such that
$$ S_\ell=e^{2i\delta_\ell}. $$
The partial-wave scattering amplitude becomes
$$ \begin{aligned} f_\ell &=\frac{S_\ell-1}{2iq}\\ &=\frac{e^{2i\delta_\ell}-1}{2iq}\\ &=\frac{1}{q}\sin\delta_\ell\,e^{i\delta_\ell}. \end{aligned} $$
Thus, the effect of an elastic interaction on each partial wave is encoded in a single real function $\delta_\ell(q)$.
Unitarity and the optical theoremΒΆ
From the partial-wave amplitude,
$$ \begin{aligned} |f_\ell|^2 &=\frac{\sin^2\delta_\ell}{q^2},\\ \operatorname{Im}f_\ell &=\frac{\sin^2\delta_\ell}{q}. \end{aligned} $$
Consequently,
$$ \operatorname{Im}f_\ell=q|f_\ell|^2. $$
This relation follows directly from elastic unitarity.
The differential cross section is determined by the full scattering amplitude,
$$ \frac{d\sigma}{d\Omega}=|f(\theta)|^2. $$
Integrating over the scattering angle and using the orthogonality of Legendre polynomials gives
$$ \sigma_{\mathrm{el}} = \frac{4\pi}{q^2} \sum_{\ell=0}^{\infty} (2\ell+1)\sin^2\delta_\ell. $$
On the other hand, the forward scattering amplitude satisfies
$$ \operatorname{Im}f(0) = \sum_{\ell=0}^{\infty} (2\ell+1)\operatorname{Im}f_\ell = \frac{1}{q} \sum_{\ell=0}^{\infty} (2\ell+1)\sin^2\delta_\ell. $$
We therefore recover the optical theorem,
$$ \sigma_{\mathrm{tot}} = \frac{4\pi}{q}\operatorname{Im}f(0), $$
where $\sigma_{\mathrm{tot}}=\sigma_{\mathrm{el}}$ for purely elastic scattering.
Phase shift and wavefunctionΒΆ
The phase shift can also be extracted directly from the radial SchrΓΆdinger equation.
For a central potential, the reduced radial wavefunction $u_\ell(r)$ satisfies
$$ u_\ell''(r) + \left[ q^2-\frac{\ell(\ell+1)}{r^2} -2m_RV(r) \right]u_\ell(r)=0, $$
where $m_R$ is the reduced mass.
Outside the interaction region, the radial solution is a linear combination of spherical Bessel functions. We write
$$ \frac{u_\ell(r)}{r} = c(r)j_\ell(qr)-s(r)n_\ell(qr). $$
The functions $c(r)$ and $s(r)$ approach constants outside the interaction region,
$$ c(r)\to c_\infty, \qquad s(r)\to s_\infty. $$
Using the asymptotic forms of the spherical Bessel functions,
$$ \begin{aligned} \frac{u_\ell(r)}{r} &\sim c_\infty \frac{\sin(qr-\ell\pi/2)}{qr} + s_\infty \frac{\cos(qr-\ell\pi/2)}{qr} \\ &= \frac{ (c_\infty+is_\infty)e^{i(qr-\ell\pi/2)} - (c_\infty-is_\infty)e^{-i(qr-\ell\pi/2)} }{2iqr}. \end{aligned} $$
The ratio of the outgoing and incoming coefficients gives
$$ S_\ell = \frac{c_\infty+is_\infty} {c_\infty-is_\infty} = e^{2i\delta_\ell}. $$
Hence,
$$ \tan\delta_\ell=\frac{s_\infty}{c_\infty}. $$
Equivalently, the asymptotic radial wavefunction takes the familiar form
$$ u_\ell(r) \propto \sin\left(qr-\frac{\ell\pi}{2}+\delta_\ell\right). $$
The phase shift therefore measures the change in the asymptotic phase of the radial wavefunction caused by the interaction.
Two numerical methodsΒΆ
The preceding discussion suggests two approaches to computing the scattering phase shift.
1. Direct method
Solve the radial SchrΓΆdinger equation for $u_\ell(r)$ with regular boundary conditions at the origin. At sufficiently large $r$, where the potential becomes negligible, match the numerical solution to
$$ u_\ell(r) \propto \sin\left(qr-\frac{\ell\pi}{2}+\delta_\ell\right). $$
The phase shift is obtained from the asymptotic wavefunction.
2. Variable phase approach (VPA)
Instead of solving for the wavefunction and extracting its asymptotic phase, introduce the radial functions $c(r)$ and $s(r)$ and study their evolution with $r$.
Define a running phase shift,
$$ \delta_\ell(r) = \operatorname{atan2}(s(r),c(r)). $$
The physical phase shift is obtained from its asymptotic value,
$$ \delta_\ell=\lim_{r\to\infty}\delta_\ell(r). $$
For a short-range potential, the variable phase equation can be written as
$$ \frac{d\delta_\ell(r)}{dr} = -\frac{2m_R}{q}V(r) \left[ \cos\delta_\ell(r)\,\hat j_\ell(qr) - \sin\delta_\ell(r)\,\hat n_\ell(qr) \right]^2, $$
where
$$ \hat j_\ell(x)=xj_\ell(x), \qquad \hat n_\ell(x)=xn_\ell(x) $$
are the RiccatiβBessel functions. The initial condition is
$$ \delta_\ell(0)=0. $$
Both methods determine the same scattering phase shift. The direct method extracts it from the asymptotic wavefunction, while VPA follows its evolution through the interaction region.
function direct(pot, Enow; wf = false, mred = 1.0, orbital_L = 0.0, L = 10.0, dx = 0.1)
# direct solution to the Schroedinger Eqn.
qnow = sqrt(2 * mred * Enow)
function upot(x)
return 2 * mred * pot(x) + orbital_L * (orbital_L + 1) / x^2
end
# L = maximum([L, 10/qnow])
x_arr = range(1E-3, L, step = dx)
u_arr = similar(x_arr)
du_arr = similar(x_arr)
# shooting
u_arr[1] = 0.0
du_arr[1] = 0.25
# useful construction: vector form
_f(x, uu) = [uu[2], (-qnow^2 + upot(x)) * uu[1]]
for i1 = 1:length(x_arr)-1
xnow = x_arr[i1]
# vector form
u1 = [u_arr[i1], du_arr[i1]]
# RK4 won't disappoint
F1 = dx * _f(xnow, u1)
F2 = dx * _f(xnow + dx / 2, u1 + F1 / 2)
F3 = dx * _f(xnow + dx / 2, u1 + F2 / 2)
F4 = dx * _f(xnow + dx, u1 + F3)
u2 = u1 + (F1 + 2 * F2 + 2 * F3 + F4) / 6
u_arr[i1+1], du_arr[i1+1] = u2
end
# u_arr VS sin(qr - Lpi/2 + ps)
N = length(u_arr)
Ninit = div(N, 2)
# normalization
u_arr = u_arr / maximum(u_arr[Ninit:N])
du_arr = du_arr / maximum(du_arr[Ninit:N]) * qnow
jl_hat(x) = x * sphericalbesselj(orbital_L, x)
nl_hat(x) = x * sphericalbessely(orbital_L, x)
djl_hat(x) = imag(jl_hat(x + im * 0.01) / 0.01)
dnl_hat(x) = imag(nl_hat(x + im * 0.01) / 0.01)
function _test(ps)
ret = 0.0
for i1 = Ninit:N
qr = qnow * x_arr[i1]
tmp = jl_hat(qr) * cos(ps) - nl_hat(qr) * sin(ps)
ret += (u_arr[i1] - tmp)^2
end
return ret
end
# ps by best fit the wavefunction
ps = optimize(_test, -pi, pi).minimizer
if wf
return x_arr, u_arr, ps
else
return ps
end
end
direct (generic function with 1 method)
phase shift formula via VPA:ΒΆ
The VPA method offers the most efficient way to determine the phase shift:
Introduce an r-dependent phase shift function $\delta(r)$ such that
\begin{align} \delta_\ell(q) = \delta(r\rightarrow \infty). \end{align}
The phase shift formula reads
\begin{aligned} \frac{d\delta(r)}{dr} \approx -\frac{1}{q} \, 2 m_R \, V(r) \, \left(\cos\delta(r) \, q r \, j_\ell(q r) - \sin\delta(r) \, q r \, n_\ell(q r) \right)^2. \end{aligned}
The strategy is to integrate from $\delta(r=0) = 0$ towards $r \rightarrow \infty$ using standard numerical ODE solution method.
The Born ApproximationΒΆ
The Born approximation amounts to a limiting case of the phase shift formula, i.e. keeping only the $j_\ell$ term
\begin{aligned} \frac{1}{\cos^2\delta} \frac{d\delta(r)}{dr} = \frac{d}{dr} \tan\delta(r) \approx -\frac{1}{q} \, 2 m_R \, V(r) \, \left(\, q r \, j_\ell(q r)) \right)^2 \end{aligned}
giving
\begin{aligned} \tan\delta^{\rm Born}_\ell \approx -\frac{1}{q} \, \int_0^\infty dr \, 2 m_R V(r) \, \left(\, q r \, j_\ell(q r)) \right)^2 \end{aligned}
This is clean: no need to solve the ODE, just a straightforward integration. But work well ONLY when $E \gg U(r)$.
function vpa(pot, Enow; wf = false, mred = 1.0, orbital_L = 0, L = 10.0, dx = 0.1)
# phase shift function by vpa method
qnow = sqrt(2 * mred * Enow)
function upot(x)
# return 2*mred*pot(x) + orbital_L*(orbital_L+1)/x^2
return 2 * mred * pot(x)
end
jl_hat(x) = x * sphericalbesselj(orbital_L, x)
nl_hat(x) = x * sphericalbessely(orbital_L, x)
# L = maximum([L, 5/qnow])
x_arr = range(1E-3, L, step = dx)
ps_arr = similar(x_arr)
# shooting
ps_arr[1] = 0.0
# useful construction: vector form
function _f(x, ps)
kr = qnow * x
tmp1 = cos(ps) * jl_hat(kr)
tmp2 = sin(ps) * nl_hat(kr)
ret = -1 / qnow * upot(x) * (tmp1 - tmp2)^2
return ret
end
for i1 = 1:length(x_arr)-1
xnow = x_arr[i1]
# vector form
ps1 = ps_arr[i1]
# RK4 won't disappoint
F1 = dx * _f(xnow, ps1)
F2 = dx * _f(xnow + dx / 2, ps1 + F1 / 2)
F3 = dx * _f(xnow + dx / 2, ps1 + F2 / 2)
F4 = dx * _f(xnow + dx, ps1 + F3)
ps_arr[i1+1] = ps1 + (F1 + 2 * F2 + 2 * F3 + F4) / 6
end
if wf
return x_arr, ps_arr
else
return ps_arr[end]
end
end
vpa (generic function with 1 method)
function born(pot, Enow; mred = 1.0, orbital_L = 0.0)
# phase shift predicted by Born approx.
# simple and clean
qnow = sqrt(2 * mred * Enow)
function upot(x)
return 2 * mred * pot(x) + orbital_L * (orbital_L + 1) / x^2
end
_f(r) = -1 / qnow * upot(r) * (sphericalbesselj(orbital_L, qnow * r) * qnow * r)^2
ret = quadgk(_f, 1E-3, Inf)[1]
return atan(ret)
end
born (generic function with 1 method)
let
mred = 1.0
# repulsive barrier
R_core = 0.5
pot(x) = x < R_core ? 120.0 : 0.0
E_arr = range(0.01, 12.0, length = 40)
q_arr = sqrt.(2 * mred * E_arr)
function hardcore(E_now; ll = 0)
q = sqrt(2 * mred * E_now)
tmp1 = sphericalbesselj(ll, q * R_core)
tmp2 = sphericalbessely(ll, q * R_core)
return atan(-tmp1, -tmp2)
end
ps_arrG = []
ps_arr = [direct(pot, Enow, orbital_L = 0, L = 25, dx = 0.01) for Enow in E_arr]
push!(ps_arrG, ps_arr)
ps_arr = [vpa(pot, Enow, orbital_L = 0, L = 25, dx = 0.01) for Enow in E_arr]
push!(ps_arrG, ps_arr)
ps_arr = [direct(pot, Enow, orbital_L = 2, L = 80, dx = 0.01) for Enow in E_arr]
push!(ps_arrG, ps_arr)
ps_arr = [vpa(pot, Enow, orbital_L = 2, L = 80, dx = 0.01) for Enow in E_arr]
# ps_arr = ps_arr .- ps_arr[1]
push!(ps_arrG, ps_arr)
plot(E_arr, ps_arrG[1], label = "direct L=0", xlabel="E", ylabel="delta(E)")
scatter!(E_arr, ps_arrG[2], label = "vpa L=0")
plot!(E_arr, ps_arrG[3], label = "direct L=2")
scatter!(E_arr, ps_arrG[4], label = "vpa L=2")
plot!(
E_arr,
ee -> hardcore(ee, ll = 0),
label = "hardcore L=0",
color = "gray",
line = (dash = :dash),
)
plot!(
E_arr,
ee -> hardcore(ee, ll = 2),
label = "hardcore L=2",
color = "gray",
line = (dash = :dash),
)
end
let
# attractive well
pot(x) = 20 * exp(-2 * x) / x
mred = 0.5
qnow = 1.0
Enow = qnow^2 / 2 / mred
x_arr, ps_arr0 = vpa(pot, Enow, wf = true, orbital_L = 0, L = 4, dx = 0.01, mred = mred)
x_arr, ps_arr1 = vpa(pot, Enow, wf = true, orbital_L = 1, L = 4, dx = 0.01, mred = mred)
x_arr, ps_arr2 = vpa(pot, Enow, wf = true, orbital_L = 2, L = 4, dx = 0.01, mred = mred)
p1 = plot(
x_arr,
[ps_arr0, ps_arr1, ps_arr2],
label = ["L=0" "L=1" "L=2"],
xlabel = "r",
title = "delta(r) at E=$Enow",
)
end
let
# (repulsive) yukawa potential
pot(x) = 0.8 * exp(-2.0 * x) / x
E_arr = range(0.1, 7^2 / 2, length = 45)
ps_arr = [vpa(pot, Enow, orbital_L = 0, L = 25, dx = 0.01) for Enow in E_arr]
ps_arr1 = [direct(pot, Enow, orbital_L = 0, L = 25, dx = 0.01) for Enow in E_arr]
ps_arr2 = [born(pot, Enow, orbital_L = 0) for Enow in E_arr]
p2 = scatter(E_arr, (ps_arr), label = "vpa", xlabel="E", ylabel="delta(E)", title="repulsive Yukawa")
plot!(E_arr, ps_arr1, label = "direct")
plot!(E_arr, (ps_arr2), label = "born")
end
Resonances for $\ell \neq 0$ΒΆ
The centrifugal potential
$\frac{\ell (\ell+1)}{r^2}$
can serve as a (+) barrier, and when combined with an attractive well, can support the formation of a resonance state, i.e. a quasi-bound state.
numerical aspect:ΒΆ
- phase shift becomes hyper-sensitive to model parameters: e.g. going from bound -> unbound
let
mred = 0.480
orbital_L = 1
# regulated attractive well
R_core = 0.1702
V0 = 432
pot(x) = -V0 * exp(-(x / R_core)^2)
Lpot(x) = orbital_L * (orbital_L + 1) / x^2 / 2 / mred
E_arr = range(0.05, 1.0^2 / 2 / mred, length = 50)
q_arr = sqrt.(2 * mred * E_arr)
ps_arrG = []
ps_arr = [
direct(pot, Enow, orbital_L = orbital_L, L = 15, dx = 0.01, mred = mred) for
Enow in E_arr
]
push!(ps_arrG, ps_arr)
ps_arr = [
vpa(pot, Enow, orbital_L = orbital_L, L = 15, dx = 0.01, mred = mred) for
Enow in E_arr
]
push!(ps_arrG, ps_arr)
p1 = plot(E_arr, ps_arrG[1], label = "direct L=1", ylabel = "delta(E)", xlabel = "E")
scatter!(E_arr, ps_arrG[2], label = "vpa L=1", ylim = (-0.5, pi))
x_arr = range(0.01, 1.0, length = 80)
totpot(x) = pot(x) + Lpot(x)
p2 = plot(x_arr, totpot, label = "tot", color = "black", ylabel="V(r)", xlabel="r")
plot!(x_arr, Lpot, label = "Lpot L=1", color = "red", line = (dash = :dash))
plot!(
x_arr,
pot,
label = "V(r)",
color = "gray",
line = (dash = :dash),
ylim = (-150, 250),
)
plot(p1, p2, layout=(2,1), size=(500,600))
end
S-wave Scattering from a Delta-Shell PotentialΒΆ
Consider the spherical delta-shell potential
$$ V(r)=\gamma\,\delta(r-a), $$
where $\gamma>0$ describes a repulsive barrier at $r=a$.
Quasi-bound StatesΒΆ
In the limit $\gamma\rightarrow\infty$, the barrier becomes impenetrable. The interior region $r<a$ supports discrete states satisfying $u(a)=0$, with energies
$$ E_n=\frac{n^2\pi^2}{2m_Ra^2}, \qquad n=1,2,\ldots $$
For large but finite $\gamma$, the interior states couple to the scattering continuum through tunneling across the barrier. They become quasi-bound states with finite lifetimes, appearing as resonances in elastic scattering.
The S-wave phase shift can be written as
$$ \delta_0(E)=\delta_{\rm bg}(E)+\delta_{\rm res}(E). $$
In the strong-barrier limit, the background phase shift approaches the hard-sphere result,
$$ \delta_{\rm bg}(q)=-qa. $$
Each narrow resonance produces a rapid increase of the phase shift by approximately $\pi$. In the zero-width limit, the resonant contribution approaches
$$ \delta_{\rm res}(E)\rightarrow \pi\,\Theta(E-E_n). $$
Thus, the discrete energy levels of the confined system can be identified through the energy dependence of the scattering phase shift.
Scattering Amplitude and Time DelayΒΆ
The S-wave scattering amplitude is
$$ f_0(q)=\frac{e^{i\delta_0}\sin\delta_0}{q} =\frac{1}{q(\cot\delta_0-i)}. $$
The corresponding S-matrix is
$$ S_0(E)=e^{2i\delta_0(E)}. $$
The Wigner time delay is defined by
$$ \boxed{ \tau_W(E) =-iS_0^*(E)\frac{dS_0(E)}{dE} =2\frac{d\delta_0(E)}{dE}. } $$
This relation is exact for elastic scattering. A rapid increase of the phase shift produces a large positive time delay, reflecting the temporary trapping of the particle in the interaction region.
Resonance Energy and WidthΒΆ
We identify a resonance candidate on the real energy axis through
$$ \boxed{ \cot\delta_0(E_R)=0. } $$
Near this energy, expand the inverse scattering amplitude,
$$ \cot\delta_0(E) \simeq (E-E_R) \left. \frac{d\cot\delta_0}{dE} \right|_{E_R}. $$
Comparing with the local BW parametrization,
$$ \cot\delta_0(E) \simeq -\frac{E-E_R}{\Gamma_R/2}, $$
we obtain
$$ \boxed{ \Gamma_R = -2\left[ \frac{d\cot\delta_0}{dE} \right]_{E_R}^{-1}. } $$
This provides a local estimate of the resonance width directly from the numerical phase shift.
The relation to the Wigner time delay follows from
$$ \frac{d\cot\delta_0}{dE} = -\frac{1}{\sin^2\delta_0} \frac{d\delta_0}{dE}. $$
At the resonance, $\cot\delta_0(E_R)=0$ and $\sin^2\delta_0(E_R)=1$. Therefore,
$$ \boxed{ \Gamma_R=\frac{4}{\tau_W(E_R)}. } $$
This relation between the local width estimator and the time delay is exact at the selected phase-shift crossing. Its interpretation as a resonance decay width follows from the local BW description.
Energy-dependent BW WidthΒΆ
For an energy-dependent BW parametrization,
$$ \cot\delta_0(E) =-\frac{E-E_R}{\Gamma(E)/2}, $$
the width can be extracted directly from the phase shift,
$$ \boxed{ \Gamma(E) =-\frac{2(E-E_R)}{\cot\delta_0(E)}. } $$
At the resonance energy, both numerator and denominator vanish. Taking the limit gives
$$ \boxed{ \Gamma(E_R) =-2\left[ \frac{d\cot\delta_0}{dE} \right]_{E_R}^{-1} =\frac{4}{\tau_W(E_R)}. } $$
Thus, the phase shift provides both a local resonance width and an energy-dependent BW width.
Numerical StudyΒΆ
We approximate the delta-shell potential by a narrow Gaussian,
$$ V(r)= \frac{\gamma}{\sqrt{\pi}w} \exp\left[-\frac{(r-a)^2}{w^2}\right], $$
which approaches $\gamma\delta(r-a)$ as $w\rightarrow0$.
The phase shift can be calculated using either direct integration of the radial SchrΓΆdinger equation or the variable phase approach.
From the numerical phase shift, we calculate
$$ \cot\delta_0(E), \qquad \frac{d\cot\delta_0}{dE}, \qquad \Gamma_{\rm eff}(E) = -\frac{2}{d\cot\delta_0/dE}. $$
The resonance energies are estimated from the zeros of $\cot\delta_0(E)$ with negative slope. The corresponding local widths are obtained by evaluating $\Gamma_{\rm eff}(E)$ at these energies.
For comparison, the interior energy levels in the impenetrable-shell limit correspond to
$$ q_n=\frac{n\pi}{a}. $$
The numerical study illustrates how the discrete levels of a confined system develop into finite-width scattering resonances, and how their energies and widths can be inferred from the phase shift alone.
let
mred = 0.5
orbital_L = 0
# delta shell / gaussian
a0 = pi
wid = 1E-1
gamma = 5.0
norm = sqrt(pi) * wid
pot(x) = gamma * exp(-(x - a0)^2 / wid^2) / norm
E_arr = range(0.05, 3.2^2 / 2 / mred, length = 150)
q_arr = sqrt.(2 * mred * E_arr)
ps_arr1 = [
direct(pot, Enow, orbital_L = orbital_L, L = 15, dx = 0.01, mred = mred) for
Enow in E_arr
]
ps_arr2 = [
vpa(pot, Enow, orbital_L = orbital_L, L = 15, dx = 0.01, mred = mred) for
Enow in E_arr
]
cot_arr = @. cot(ps_arr1)
dcot_arr = similar(cot_arr)
dcot_arr[1] = (cot_arr[2] - cot_arr[1]) / (E_arr[2] - E_arr[1])
dcot_arr[end] = (cot_arr[end] - cot_arr[end-1]) / (E_arr[end] - E_arr[end-1])
for i1 = 2:length(cot_arr)-1
dcot_arr[i1] = (cot_arr[i1+1] - cot_arr[i1-1]) / (E_arr[i1+1] - E_arr[i1-1])
end
width_arr = @. -2 / dcot_arr
scot_arr = sign.(cot_arr)
iroots = [
i1 for i1 in 1:length(q_arr)-1 if
scot_arr[i1] * scot_arr[i1+1] <= 0 && scot_arr[i1] > 0
]
qroots = [q_arr[i1] for i1 in iroots]
Eroots = [E_arr[i1] for i1 in iroots]
widroots = [width_arr[i1] for i1 in iroots]
fscat = @. exp(im * ps_arr1) * sin(ps_arr1) / q_arr
fim = imag.(fscat)
fabs2 = abs2.(fscat)
p1 = plot(q_arr, ps_arr1, label = "direct L=0", ylabel = "ps(q)", xlabel = "q")
scatter!(q_arr, ps_arr2, label = "vpa L=0", ylim = (-pi, pi))
plot!(q_arr, fabs2, label = "|f|^2")
p2 = plot(q_arr, cot_arr, label = "cot(ps)", xlabel="q", legend=:bottomright)
plot!(q_arr, dcot_arr, label = "dcot(ps)/dE")
plot!(q_arr, width_arr, label = "width(E)")
scatter!(qroots, y->0, ylim = (-7, 5), color="grey", label="")
# scatter!(qroots, widroots, color="red", label="")
sig_arr = @. sin(ps_arr1)^2 / q_arr^2 * 4 * pi
sig_arr1 = @. sin(q_arr * a0)^2 / q_arr^2 * 4 * pi
p3 = plot(q_arr, sig_arr, label = "S-wave cross sec.", ylim=(-2, 15))
plot!(
q_arr,
sig_arr1,
label = "purely repulsive",
color = "gray",
line = (dash = :dash),
)
println(qroots)
println(pi.*[1, 2, 3]/a0)
println("width")
println(widroots)
plot(p1, p2, p3, layout=(3,1), size=(500,600))
end
[0.9330976052587412, 1.880917953817574, 2.8011383112810004] [1.0, 2.0, 3.0] width [0.04901767404640689, 0.5585008119304163, 3.759485968454654]
further topicsΒΆ
- Lippmann Schwinger Equation
- S-matrix phenomenology: inelasticity, coupled-channel models, resonances
- Scattering theory and field theoretical models