constant

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

Dummy function that returns a constant of unity, down to a certain minimum, below which it is zero. NOTE: to include 1+z scaling here, one will need to reduce the minimum width argument with z. Feature to be added. Maybe have args also contain min and max values?

Parameters:
  • log10w – log base 10 of widths

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

Returns:

p(logw) d logw

Return type:

result