Fitting Module

beast.fitting.fit Module

BEAST Fitting functions

Functions

summary_table_memory(obs, noisemodel, sedgrid)

Do the fitting in memory

Q_all_memory(prev_result, obs, sedgrid, …)

Fit each star, calculate various fit statistics, and output them to files.

IAU_names_and_extra_info(obsdata[, …])

Generates IAU approved names for the data using RA & DEC and extra information about the sources (ra, dec, photometry, etc.)

save_stats(stats_outname, stats_dict_in, …)

Save various fitting statistics to a file

save_pdf1d(pdf1d_outname, save_pdf1d_vals, …)

Save the 1D PDFs to a file

save_lnp(lnp_outname, save_lnp_vals)

Save the nD lnps to a file

beast.fitting.pdf1d Module

Classes

pdf1d(gridvals, nbins[, logspacing, minval, …])

Create an object which can be used to efficiently generate a 1D pdf for an observed object

Class Inheritance Diagram

Inheritance diagram of beast.fitting.pdf1d.pdf1d

beast.fitting.pdf2d Module

Classes

pdf2d(gridvals_p1, gridvals_p2, nbins_p1, …)

Create an object which can be used to efficiently generate a 2D pdf for an observed object

Class Inheritance Diagram

Inheritance diagram of beast.fitting.pdf2d.pdf2d

beast.fitting.trim_grid Module

Functions

trim_models(sedgrid, sedgrid_noisemodel, …)

For a given set of observations, there will be models that are so bright or faint that they will always have ~0 probability of fitting the data.