Kroupa

class mosfit.modules.Kroupa(**kwargs)[source]

Bases: mosfit.modules.Parameter

Kroupa IMF from https://arxiv.org/pdf/astro-ph/0102155.pdf.

Requires that min_value = 0.01 solar masses.

Methods Summary

kroupa_cdf(maxmass, k) Cumulative density function from Kroupa 2001b.
lnprior_pdf(x) Evaluate natural log of probability density function.
Kroupa.prior_cdf

Methods Documentation

kroupa_cdf(maxmass, k)[source]

Cumulative density function from Kroupa 2001b.

0.01 <= mass, k is normalization

lnprior_pdf(x)[source]

Evaluate natural log of probability density function.

PDF from Kroupa (2001b)