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")

Types

ACTest.AbstractPeak — Type
AbstractPeak

An abstract type representing the peaks in the spectral functions. It is used to build the internal type system.

ACTest.GaussianPeak — Type
GaussianPeak

Mutable struct. It represents the gaussian peak.

Members

  • A -> Amplitude of the peak.
  • Γ -> Broadening of the peak.
  • ϵ -> Shift of the peak.
ACTest.LorentzianPeak — Type
LorentzianPeak

Mutable struct. It represents the lorentzian peak.

Members

  • A -> Amplitude of the peak.
  • Γ -> Broadening of the peak.
  • ϵ -> Shift of the peak.
ACTest.DeltaPeak — Type
DeltaPeak

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 — Type
RectanglePeak

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 — Type
RiseDecayPeak

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 — Method
Base.show(io::IO, 𝑝::GaussianPeak)

Write a GaussianPeak struct.

See also: GaussianPeak.

Base.show — Method
Base.show(io::IO, 𝑝::DeltaPeak)

Write a DeltaPeak struct.

See also: DeltaPeak.

Base.show — Method
Base.show(io::IO, 𝑝::RectanglePeak)

Write a RectanglePeak struct.

See also: RectanglePeak.

Base.show — Method
Base.show(io::IO, 𝑝::RiseDecayPeak)

Write a RiseDecayPeak struct.

See also: RiseDecayPeak.