lincc-frameworks / tdastro

MIT License
4 stars 0 forks source link

Utility function to convert F_ν to F_λ #149

Closed hombit closed 1 month ago

hombit commented 1 month ago

Adds fnu_to_flam, right now we need it for testing purposes only, closes #146

It also slightly refactors flam_to_fnu for better function signature and replacing wavelength repetition code with broadcasting.

github-actions[bot] commented 1 month ago
Before [dd22ca24] After [0edfd947] Ratio Benchmark (Parameter)
7.07±0.04ms 7.13±0.1ms 1.01 benchmarks.time_chained_evaluate
1.42±0.01s 1.39±0.02s 0.98 benchmarks.time_x1_from_hostmass

Click here to view all benchmarks.