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

Document setting hostebv from extinction law #232

Open
geotaylo opened this issue Feb 28, 2019 · 2 comments
Open

Document setting hostebv from extinction law #232

geotaylo opened this issue Feb 28, 2019 · 2 comments

Comments

@geotaylo
Copy link

Apologies if there is some obvious way to do this, I couldn't find anything in the documentation.

I'm wanting to fit a 'realistic' SN with host and mw dust. When simulating photometry using realize_lcs(), I can include mwebv in the list of params by generating it from some coordinates (and set this in the model before fitting the other parameters) - this is well documented. How can I also generate a sensible hostebv value to be included in the list of params when simulating photometry? There is no point in me fitting for it if the effect hasn't been applied to the photometry.

@kbarbary
Copy link
Member

kbarbary commented Mar 1, 2019

In a simulation, you would typically randomly select the hostebv value from a distribution. Which distribution depends a lot on the purpose, and what kind of SNe you're simulating. Core collapse SNe are typically in higher-dust environments than Ia's, for example, so if you were simulating CC SNe, your choice of distribution should reflect that.

Here are some "possible" distributions to use for SNe Ia in wide-field surveys:
image
This is in terms of A_V = 3.1 * E(B-V). This is Figure 5 of this paper. There might be better references now, but it at least discusses the uncertainty in A_V a bit.

@geotaylo
Copy link
Author

geotaylo commented Mar 5, 2019

Perfect, that clears it up. Thanks.

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

No branches or pull requests

2 participants