Strangeon EOS solver

Functions to compute Strangeon Equation of state from given parameters.

EOSgenerators.Strangeon_EOS.compute_EOS(n, theta)[source]

Compute the energy density and pressure based on the given parameters.

Parameters:
  • n (array) – An array of n values. Input values of baryon number densities.

  • theta (array) – An array representing the parameters [epsilon, Nq, ns].

  • epsilon – the depth of the potential well; MeV;

  • Nq – the number of quarks in a strangeon;

  • ns – the number density of baryons at the surface of the star; fm^-3

Returns:

Arrays of energy densities in units of gcm3 and pressures in units of dyncm2.

Return type:

tuple