Peaks
Declare various peaks, which are used to build the spectral functions.
Now the ACTest toolkit supports the following five types of peaks:
- Gaussian peak (
ptype = "gauss"
) - Lorentzian peak (
ptype = "lorentz"
) - $\delta$-like peak (
ptype = "delta"
) - Rectangle peak (
ptype = "rectangle"
) - Rise-And-Decay peak (
ptype = "risedecay"
)
Contents
Index
ACTest.AbstractPeak
ACTest.DeltaPeak
ACTest.GaussianPeak
ACTest.LorentzianPeak
ACTest.RectanglePeak
ACTest.RiseDecayPeak
Base.show
Base.show
Base.show
Base.show
Base.show
Types
ACTest.AbstractPeak
— TypeAbstractPeak
An abstract type representing the peaks in the spectral functions. It is used to build the internal type system.
ACTest.GaussianPeak
— TypeGaussianPeak
Mutable struct. It represents the gaussian peak.
Members
- A -> Amplitude of the peak.
- Γ -> Broadening of the peak.
- ϵ -> Shift of the peak.
ACTest.LorentzianPeak
— TypeLorentzianPeak
Mutable struct. It represents the lorentzian peak.
Members
- A -> Amplitude of the peak.
- Γ -> Broadening of the peak.
- ϵ -> Shift of the peak.
ACTest.DeltaPeak
— TypeDeltaPeak
Mutable struct. It represents the δ-like peak. Actually, it is a variation of the GaussianPeak with Γ = 0.02.
Members
- A -> Amplitude of the peak.
- Γ -> Broadening of the peak.
- ϵ -> Shift of the peak.
ACTest.RectanglePeak
— TypeRectanglePeak
Mutable struct. It represents the rectangle peak.
Members
- c -> Center of the peak.
- w -> Width of the peak.
- h -> Height of the peak.
ACTest.RiseDecayPeak
— TypeRiseDecayPeak
Mutable struct. It represents the rise-and-decay peak.
Members
- c -> Center of the peak.
- γ -> Exponential parameter. It is used to control the width of the peak.
- h -> Height of the peak.
Base.* Functions
Base.show
— MethodBase.show(io::IO, 𝑝::GaussianPeak)
Write a GaussianPeak struct.
Base.show
— MethodBase.show(io::IO, 𝑝::LorentzianPeak)
Write a LorentzianPeak struct.
Base.show
— MethodBase.show(io::IO, 𝑝::DeltaPeak)
Write a DeltaPeak struct.
Base.show
— MethodBase.show(io::IO, 𝑝::RectanglePeak)
Write a RectanglePeak struct.
Base.show
— MethodBase.show(io::IO, 𝑝::RiseDecayPeak)
Write a RiseDecayPeak struct.