make_toothpick_noise_model

beast.observationmodel.noisemodel.generic_noisemodel.make_toothpick_noise_model(outname, astfile, sedgrid, colnames, vega_fname=None, absflux_a_matrix=None, nfluxbins=50, **kwargs)[source]

toothpick noise model assumes that every filter is independent with any other.

Parameters:
  • outname (str) – path and filename into which save the noise model

  • astfile (str) – path to the file into which are ASTs results

  • sedgrid (SEDGrid instance) – sed model grid for everyone of which we will evaluate the model

  • colnames (list) – list of column names in the photometry file indicating the flux/vegamag for each filter same thing as settings.obs_colnames, should end in _RATE if coming from DOLPHOT

  • absflux_a_matrix (ndarray) – absolute calibration a matrix giving the fractional uncertainties including correlated terms (off diagonals)

  • nfluxbins (int (default=50)) – number of flux bins

Returns:

noisefile – noisemodel file name

Return type:

str