save_stats¶
-
beast.fitting.fit.save_stats(stats_outname, stats_dict_in, best_vals, exp_vals, per_vals, chi2_vals, chi2_indx, lnp_vals, lnp_indx, best_specgrid_indx, total_log_norm, qnames, p, filters, wavelengths)[source]¶ Save various fitting statistics to a file
- Parameters
- stats_outnamestr
output filename
- stats_dict_indict
input dictonary with ancilliary info
- best_valsndarray
2D
floatarray of the best fit parameters- exp_valsndarray
2D
floatarray of the expectation fit parameters- per_valsndarray
3D
floatarray of the percentile fit parameters- chi2_valsndarray
1D
floatarray of the chisqr values (does not include model weights)- chi2_indxndarray
1D
floatarray of the indx in model grid of chisqr values- lnp_valsndarray
1D
floatarray of the P(max) values (includes model weights)- lnp_indxndarray
1D
intarray of the indx in model grid of P(max) values- best_specgrid_indxndarray
1D
intarray of the indx in spectroscopic model grid of P(max) values- total_log_normndarray
1D
floatarray of the log of the total grid weight- qnameslist
list of the parameter names
- plist
list of percentiles use to create the per_vals
- Returns
- N/A