skypyproject / skypy

SkyPy: A package for modelling the Universe.
BSD 3-Clause "New" or "Revised" License
117 stars 38 forks source link

ENH: Time evolution Schechter amplitude #568

Open Lucia-Fonseca opened 2 years ago

Lucia-Fonseca commented 2 years ago

Description

This PR adds a function that returns the amplitude of the Schechter function for active galaxies based on equation (17) in de la Bella et al. 2021. Merging this PR closes #515.

Checklist

Lucia-Fonseca commented 2 years ago

why is it not passing all of the checks?

rrjbca commented 2 years ago

Check the logs

>       assert output_today == phi_today
E       assert 0.0037757219092541604 == 0.00377572190925416

Given the relative numerical complexity of the function it seems reasonable that the results are not identical but agree to some high precision.