Skip to content

interpolation index calculation in update_UVbackground_rates should be smarter #488

Description

@brittonsmith

We currently use a brute force loop to calculate the index for redshift interpolation in update_UVbrackground_rates. It's not a huge deal because the tables are only of length ~20, but they are evenly spaced in log(1+z). We should calculate this arithmetically or at minimum do bisection.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions