load_eps_samples¶
- ell1fit.eccentricity.load_eps_samples(results_file, chain_file=None, row=-1)[source]¶
Read
EPS1/EPS2posterior samples from a finishedell1fitrun.- Parameters:
- results_filestr
Path to the
*_results.ecsvwritten by the fit. Beware which one: the chain sits next to the aggregate output root, which for a single-file run is the event file’s own root, and for a multi-file run is the combined-oroot.- chain_filestr, optional
Path to the emcee HDF5 chain. Defaults to
default_chain_file().- rowint
Which row of the table to use.
ell1fitappends a row per run (ell1fit.results_io.safe_save()), so the default is the last, the most recent fit.
- Returns:
- eps1, eps2np.ndarray
Physical posterior samples, with the same burn-in and thinning the fit itself applied.