cogwheel.waveform.Approximant

class cogwheel.waveform.Approximant(harmonic_modes, aligned_spins, tides, hplus_hcross_by_mode_func)

Bases: tuple

Create new instance of Approximant(harmonic_modes, aligned_spins, tides, hplus_hcross_by_mode_func)

Methods

count

Return number of occurrences of value.

index

Return first index of value.

Attributes

aligned_spins

Alias for field number 1

harmonic_modes

Alias for field number 0

hplus_hcross_by_mode_func

Alias for field number 3

tides

Alias for field number 2

__add__(value, /)

Return self+value.

__mul__(value, /)

Return self*value.

aligned_spins

Alias for field number 1

count(value, /)

Return number of occurrences of value.

harmonic_modes

Alias for field number 0

hplus_hcross_by_mode_func

Alias for field number 3

index(value, start=0, stop=sys.maxsize, /)

Return first index of value.

Raises ValueError if the value is not present.

tides

Alias for field number 2