halflognormal

zdm.survey.halflognormal(log10w, *args)[source]

Generates a parameterised half-lognormal distribution. This acts as a lognormal in the lower half, but keeps a constant per-log-bin width in the upper half There is nor formal way to normalise this function.

It can also be verified that changing the normalisation of these functions only changes the P(N) calculation, which should in any case be separately optimised. Note however that this changes the interpretation of the log-constant, which may be incorrect to within such a normalisation factor.

Parameters:
  • log10w – log base 10 of widths

  • args – vector of [logmean,logsigma] mean and std dev and max value

Returns:

p(log10w) d log10w

Return type:

result