allow to parameterize luminosity functions in "natural parameters" instead of mean_luminosity
Closed this issue · 0 comments
HansN87 commented
The mean_luminosity is not a good property to characterize powerlaws or broken powerlaws. A more natural choice would be Lmin, Lmax, gamma (or Lmin, Lmax, Lbreak, gamma1, gamma2).
The current design puts a lot of emphasis on the mean_luminosity
FIRESONG/firesong/Luminosity.py
Line 232 in 9955d4c
and performs the transformation to the natural parameters implicitly e.g. here (powerlaw)
FIRESONG/firesong/Luminosity.py
Line 182 in 9955d4c
Suggest to rework the interface to the underlying PDFs such that the user can specify the natural parameters directly.