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

Add simulation code #77

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open

Conversation

karllark
Copy link
Member

@karllark karllark commented Aug 13, 2024

Move the existing simulation code from the beast and enhance it to use the megabeast capabilities to update the prior model on the fly (instead of needing to recompute the full physicsmodel).

Partially addesses #76
Closes #66

Copy link

codecov bot commented Aug 13, 2024

Codecov Report

Attention: Patch coverage is 19.75806% with 199 lines in your changes missing coverage. Please review.

Project coverage is 19.18%. Comparing base (a9348c4) to head (a51f1c6).
Report is 19 commits behind head on master.

Files with missing lines Patch % Lines
megabeast/tools/simulate_obs.py 9.78% 166 Missing ⚠️
megabeast/helpers.py 17.64% 28 Missing ⚠️
megabeast/mbmodel.py 88.46% 3 Missing ⚠️
megabeast/fit_single.py 50.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #77      +/-   ##
==========================================
+ Coverage   14.43%   19.18%   +4.74%     
==========================================
  Files           6        6              
  Lines         374      563     +189     
==========================================
+ Hits           54      108      +54     
- Misses        320      455     +135     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move simulations to MegaBEAST
1 participant