# Fitting Module¶

## 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

## beast.fitting.trim_grid Module¶

### Trim the grid of models¶

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. This program trims those models out of the SED grid so that time is not spent calculating model points that are always zero probability.

### Functions¶

trim_models(sedgrid, sedgrid_noisemodel, …)