compute_metallicity_grid_weights

beast.physicsmodel.grid_weights_stars.compute_metallicity_grid_weights(mets)[source]

Computes the metallicity weights to set a uniform prior on linear metallicity

Parameters:
metsnumpy vector

metallicities

Returns:
metallicity_weightsnumpy vector

weights to provide a flat metallicity