Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: Time evolution Schechter amplitude #568

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

Lucia-Fonseca
Copy link
Member

@Lucia-Fonseca Lucia-Fonseca commented Jul 6, 2022

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

  • Follow the Contributor Guidelines
  • Write unit tests
  • Write documentation strings
  • Assign someone from your working team to review this pull request
  • Assign someone from the infrastructure team to review this pull request

@Lucia-Fonseca Lucia-Fonseca added enhancement Improvement of existing feature module: galaxies labels Jul 6, 2022
@Lucia-Fonseca Lucia-Fonseca requested a review from a team as a code owner July 6, 2022 13:54
@Lucia-Fonseca Lucia-Fonseca self-assigned this Jul 6, 2022
@Lucia-Fonseca Lucia-Fonseca requested a review from rrjbca July 6, 2022 14:01
@Lucia-Fonseca
Copy link
Member Author

why is it not passing all of the checks?

@rrjbca
Copy link
Contributor

rrjbca commented Jul 12, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement of existing feature module: galaxies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ENH: Time evolution Schechter amplitude
3 participants