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

digraph inheritance76e37e37eb { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "pdf1d" [URL="api/beast.fitting.pdf1d.pdf1d.html#beast.fitting.pdf1d.pdf1d",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; }

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

digraph inheritance871435bc6e { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "pdf2d" [URL="api/beast.fitting.pdf2d.pdf2d.html#beast.fitting.pdf2d.pdf2d",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; }

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.