sailfish.physics.circumbinary.Diagnostic
- class sailfish.physics.circumbinary.Diagnostic(quantity, gravity, accretion, which_mass, radial_cut)[source]
Bases:
NamedTuple
- __init__()
Methods
__init__
()count
(value, /)Return number of occurrences of value.
index
(value[, start, stop])Return first index of value.
Attributes
Whether to include the accretion term (if applicable)
Whether to include the gravity term (if applicable)
time, mdot, ldot, mass_moment, eccentricity_vector
None is ok, or a radial annulus to include e.g.
1, 2, or 'both'
- accretion: bool
Whether to include the accretion term (if applicable)
- count(value, /)
Return number of occurrences of value.
- gravity: bool
Whether to include the gravity term (if applicable)
- index(value, start=0, stop=9223372036854775807, /)
Return first index of value.
Raises ValueError if the value is not present.
- quantity: str
time, mdot, ldot, mass_moment, eccentricity_vector
- radial_cut: tuple
None is ok, or a radial annulus to include e.g. (1.0, 2.0)
- which_mass: Union[int, str]
1, 2, or ‘both’