Perturbation

class rhodent.perturbation.DeltaKick(strength)[source]

Delta-kick perturbation

Parameters:

strength (float) – Strength of the perturbation

fourier(times, padnt)[source]

Fourier transform of perturbation

Parameters:
  • times (ndarray[tuple[int, ...], dtype[float64]]) – Time grid in atomic units

  • padnt (int) – Length of zero-padded time grid

Return type:

ndarray[tuple[int, ...], dtype[complex128]]

class rhodent.perturbation.NoPerturbation[source]

No perturbation

Used to indicate that we do not know the perturbation, and that it should not matter.

fourier(times, padnt)[source]

Fourier transform of perturbation

Parameters:
  • times (ndarray[tuple[int, ...], dtype[float64]]) – Time grid in atomic units

  • padnt (int) – Length of zero-padded time grid

Return type:

ndarray[tuple[int, ...], dtype[complex128]]

class rhodent.perturbation.Perturbation[source]

Perturbation that density matrices are a response to

abstract fourier(times, padnt)[source]

Fourier transform of perturbation

Parameters:
  • times (ndarray[tuple[int, ...], dtype[float64]]) – Time grid in atomic units

  • padnt (int) – Length of zero-padded time grid

Return type:

ndarray[tuple[int, ...], dtype[complex128]]

class rhodent.perturbation.PulsePerturbation(pulse)[source]

Perturbation as a time-dependent function

Parameters:

pulse (Laser | dict) – Object representing the pulse

fourier(times, padnt)[source]

Fourier transform of perturbation

Parameters:
  • times (ndarray[tuple[int, ...], dtype[float64]]) – Time grid in atomic units

  • padnt (int) – Length of zero-padded time grid

Return type:

ndarray[tuple[int, ...], dtype[complex128]]