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

Types

ACTest.AbstractPeakType
AbstractPeak

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

ACTest.GaussianPeakType
GaussianPeak

Mutable struct. It represents the gaussian peak.

Members

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

Mutable struct. It represents the lorentzian peak.

Members

  • A -> Amplitude of the peak.
  • Γ -> Broadening of the peak.
  • ϵ -> Shift of the peak.
ACTest.DeltaPeakType
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.RectanglePeakType
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.RiseDecayPeakType
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.showMethod
Base.show(io::IO, 𝑝::GaussianPeak)

Write a GaussianPeak struct.

Base.showMethod
Base.show(io::IO, 𝑝::LorentzianPeak)

Write a LorentzianPeak struct.

Base.showMethod
Base.show(io::IO, 𝑝::DeltaPeak)

Write a DeltaPeak struct.

Base.showMethod
Base.show(io::IO, 𝑝::RectanglePeak)

Write a RectanglePeak struct.

Base.showMethod
Base.show(io::IO, 𝑝::RiseDecayPeak)

Write a RiseDecayPeak struct.