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

Improve SALT SN+host photo-z fits #1460

Open
RickKessler opened this issue Dec 23, 2024 · 1 comment
Open

Improve SALT SN+host photo-z fits #1460

RickKessler opened this issue Dec 23, 2024 · 1 comment

Comments

@RickKessler
Copy link
Owner

RickKessler commented Dec 23, 2024

Original snlc_fit code did a course grid search (zPhot, color, stretch) to estimate initial parameters, but only for SN-only fits. With zPHOT prior from host, code set zPhot(guess) = zPHOT(host), and searches grid for x1 and c. Should estimate initial zPHOT regardless of whether or not there is host prior, particularly of zPHOTERR is large.

@RickKessler
Copy link
Owner Author

for now, the updated code is invoked with DEBUG_FLAG=1219.
For SN-only, zPHOT grid is searched over entire photo-z bound. For SN+host, zPHOT is searched over zPHOT +_ 2 sigma_{zPHOT}.
Another subtle change is to search grid in zPHOT/(1+zPHOT) instead of zPHOT; this allow a slightly smaller grid to save some CPU.
CPU increase is 20% with this new initial param search.

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

1 participant