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

[DRAFT PR] Possible dust map implementation #180

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

Conversation

jeremykubica
Copy link
Contributor

Draft PR to ask if this is the direction we want to go.

Copy link

github-actions bot commented Oct 29, 2024

Before [9ea64af] After [36dfa37] Ratio Benchmark (Parameter)
1.64±0.1ms 1.36±0.09ms ~0.83 benchmarks.TimeSuite.time_apply_passbands
723±500μs 761±500μs 1.05 benchmarks.TimeSuite.time_fnu_to_flam
120±1μs 122±1μs 1.02 benchmarks.TimeSuite.time_sample_x0_from_distmod
4.45±1ms 4.48±0.1ms 1.01 benchmarks.TimeSuite.time_chained_evaluate
15.7±0.2μs 16.0±0.1μs 1.01 benchmarks.TimeSuite.time_sample_x1_from_hostmass
8.55±0.7ms 8.47±0.8ms 0.99 benchmarks.TimeSuite.time_evaluate_salt3_model
4.73±0.2ms 4.68±0.2ms 0.99 benchmarks.TimeSuite.time_evaluate_salt3_passbands
8.95±0.1ms 8.85±0.03ms 0.99 benchmarks.TimeSuite.time_load_passbands
28.1±0.9μs 27.9±0.3μs 0.99 benchmarks.TimeSuite.time_make_new_salt3_model
1.33±0.01s 1.31±0.01s 0.98 benchmarks.TimeSuite.time_make_x1_from_hostmass

Click here to view all benchmarks.

src/tdastro/astro_utils/dust_map.py Outdated Show resolved Hide resolved
src/tdastro/astro_utils/dust_map.py Outdated Show resolved Hide resolved
src/tdastro/astro_utils/dust_map.py Outdated Show resolved Hide resolved
src/tdastro/astro_utils/dust_map.py Show resolved Hide resolved
src/tdastro/astro_utils/dust_map.py Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants