|
Bayesian Analysis of Neutron Star Mass and Radius Observations
|
Use QMC computations of neutron matter from Steiner12cn. More...
The original model from Steiner and Gandolfi (2012) with
and polytropes similar to bamr::two_polytropes. The remaining 3 parameters are index1, trans1, and index2. In the original paper, the polytrope indices are between 0.2 and 2.0. The transition to the first polytrope at is at a baryon density of rho_trans and the transition to the second is at the energy density in trans1 which is between 2.0 and 8.0
. The upper limit on polytropic indices has since been changed from 2.0 to 4.0.
#include <models.h>
Public Member Functions | |
| virtual void | low_limits (entry &e) |
| Set the lower boundaries for all the parameters, masses, and radii. | |
| virtual void | high_limits (entry &e) |
| Set the upper boundaries for all the parameters, masses, and radii. | |
| virtual std::string | param_name (size_t i) |
Return the unit of parameter with index i. | |
| virtual std::string | param_unit (size_t i) |
Return the unit of parameter with index i. | |
| virtual void | compute_eos (entry &e, int &success, std::ofstream &scr_out) |
Compute the EOS corresponding to parameters in e and put output in tab_eos. | |
| virtual void | first_point (entry &e) |
| Function to compute the initial guess. | |
Public Member Functions inherited from bamr::two_polytropes | |
| virtual void | setup_params (o2scl::cli &cl) |
| Setup new model parameters. | |
| virtual void | remove_params (o2scl::cli &cl) |
| Remove model-specific parameters. | |
| virtual void | baryon_density_point (double &n1, double &e1) |
| A point to calibrate the baryon density with. More... | |
| two_polytropes () | |
| Create a model object. | |
Public Member Functions inherited from bamr::model | |
| virtual void | compute_mr (entry &e, std::ofstream &scr_out, o2scl::o2_shared_ptr< o2scl::table_units<> >::type tab_mvsr, int &success) |
| Compute the M-R curve directly. | |
Data Fields | |
| double | rho0 |
Saturation density in . | |
| double | rho_trans |
| Transition density (default 0.48) | |
| o2scl::interp_vec | si |
| Ratio interpolator. | |
| o2scl::interp_vec | si_err |
| Ratio error interpolator. | |
| ubvector | ed_corr |
| Interpolation objects. | |
| ubvector | pres_corr |
| ubvector | pres_err |
| o2scl::prob_dens_gaussian | pdg |
| Gaussian distribution for proton correction factor. | |
Data Fields inherited from bamr::model | |
| nstar_cold2 | cns |
| TOV solver and storage for the EOS table. | |
Additional Inherited Members | |
Protected Attributes inherited from bamr::two_polytropes | |
| o2scl::cli::parameter_double | p_kin_sym |
| Parameter for kinetic part of symmetry energy. | |
| o2scl::eos_had_schematic | se |
| Low-density EOS. | |
| o2scl::fermion | neut |
| Neutron for se. | |
| o2scl::fermion | prot |
| Proton for se. | |
| double | nb_n1 |
| The fiducial baryon density. | |
| double | nb_e1 |
| The fiducial energy density. | |
Documentation generated with Doxygen. Bamr documentation is under the GNU Free Documentation License.