fit_truncated_gaussian
- dysmalpy.utils.fit_truncated_gaussian(trace, truncate_value)[source]
Find the best fitting mean and standard deviation of a sample assuming the distribution is a truncated Gaussian with the truncation occurring at low values.
- Parameters:
trace – Sample to fit
truncate_value – The value for where the truncation occurs
- Returns:
mean, standard deviation of the best fitting truncated Gaussian