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

Bayesian fitting #88

Open
s-goldman opened this issue Mar 6, 2020 · 4 comments
Open

Bayesian fitting #88

s-goldman opened this issue Mar 6, 2020 · 4 comments
Labels
difficult enhancement New feature or request

Comments

@s-goldman
Copy link
Owner

Use a prior, maybe the luminosity functions from the Magellanic Clouds, to constrain the luminosities. Then use observations to generate a posterior distribution. This would be a problem for highly-evolved stars which may need a flag in the user interface.

@s-goldman
Copy link
Owner Author

This would solve the problems of fitting both spectra and photometry, the unrealistic weighting of data in the far-IR and optical, unrealistic DUSTY models, and finally yield some version of an errorbar

@s-goldman
Copy link
Owner Author

I would need an option in the user interface to choose the luminosity function for either LMC, SMC, (or M31)

@s-goldman
Copy link
Owner Author

Functions have been created to calculate the grid weights, and next is priors. The way that the code now works is that it creates a grid of luminosities between 1,000 and 100,000 Lsun with a specified sampling in logarithmic spacing. I need to take the specified grid and duplicate and append it for each of the luminosities.

@s-goldman s-goldman added difficult enhancement New feature or request labels Jul 1, 2020
@s-goldman
Copy link
Owner Author

Also add option to optimize with emcee.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficult enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant