jesterTOV.tov.data_classes.EOSData#
- class EOSData(
- ns: Float[Array, 'n_points'],
- ps: Float[Array, 'n_points'],
- hs: Float[Array, 'n_points'],
- es: Float[Array, 'n_points'],
- dloge_dlogps: Float[Array, 'n_points'],
- cs2: Float[Array, 'n_points'],
- mu: Float[Array, 'n_points'] | None = None,
- extra_constraints: dict[str, Any] | None = None,
Bases:
NamedTupleImmutable container for EOS quantities in geometric units.
NamedTuple is automatically JAX pytree-compatible, no extra dependencies needed. All arrays represent physical quantities sampled over a density/pressure grid.
- __init__()#
Methods
__init__()count(value, /)Return number of occurrences of value.
index(value[, start, stop])Return first index of value.
Attributes
Alias for field number 5
Alias for field number 4
Alias for field number 3
Alias for field number 7
Alias for field number 2
Alias for field number 6
Alias for field number 0
Alias for field number 1
- cs2: Float[Array, 'n_points']#
Alias for field number 5
- dloge_dlogps: Float[Array, 'n_points']#
Alias for field number 4
- es: Float[Array, 'n_points']#
Alias for field number 3
- hs: Float[Array, 'n_points']#
Alias for field number 2
- ns: Float[Array, 'n_points']#
Alias for field number 0
- ps: Float[Array, 'n_points']#
Alias for field number 1