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

Full nD simulations #51

Open
karllark opened this issue May 22, 2020 · 0 comments
Open

Full nD simulations #51

karllark opened this issue May 22, 2020 · 0 comments
Milestone

Comments

@karllark
Copy link
Member

karllark commented May 22, 2020

(this is an issue to put down ideas - useful before and during the actual coding)

To test the megabeast, need to have simulations that fully test the different parameters of the ensemble model. The simulations are for megabeast ensemble parameters (e.g., IMF slope, Av distribution). There is code currently to simulate A(V) ensemble models and it needs to be updated/generalized.

To start with, the simulations should be done with easy to represent uncertainties on the beast parameters with the beast pPDFs simulated from the physicsgrid. Later, the simulations can be made more realistic by simulating stars with fluxes and uncertainties using the beast code to do this simulation. The latter simulation is already implemented in the beast. Maybe it would be better to just do the more realistic simulations now. That's where we need to be in the end anyway.

One idea it to use the prior model in the beast as this is the ensemble model for the megabeast. The megabeast ensemble model can be specified using the same dictionary structure as the beast prior model.

The megabeast simulation code would need to (for a single pixel):

  1. calculate the beast prior model based on the megabeast ensemble model based on a beast physics modelgrid
  2. create a new physicsgrid with the new weights based on the ensemble model
  3. use the beast simulation observations code to generate a simulated observed catalog
  4. run the beast on the simulated catalog and the original beast physicsgrid model for a specified number of stars
  5. run the megabeast on the beast results and solve for the ensemble model
  6. compare the megabeast solution to the input megabeast ensemble model
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant