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,
)[source]#

Bases: NamedTuple

Immutable 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

cs2

Alias for field number 5

dloge_dlogps

Alias for field number 4

es

Alias for field number 3

extra_constraints

Alias for field number 7

hs

Alias for field number 2

mu

Alias for field number 6

ns

Alias for field number 0

ps

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

extra_constraints: dict[str, Any] | None#

Alias for field number 7

hs: Float[Array, 'n_points']#

Alias for field number 2

mu: Float[Array, 'n_points'] | None#

Alias for field number 6

ns: Float[Array, 'n_points']#

Alias for field number 0

ps: Float[Array, 'n_points']#

Alias for field number 1