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

Multil Template Fitter planned? #394

Open
yemsb opened this issue Dec 9, 2022 · 6 comments
Open

Multil Template Fitter planned? #394

yemsb opened this issue Dec 9, 2022 · 6 comments

Comments

@yemsb
Copy link

yemsb commented Dec 9, 2022

Hey, I wanted to ask if you planned on implementing the BCMultiTemplateFitter from the C++ version. Or if there is anything similar in the Julia version. This would be very useful when fitting multiple spectral templates from simulation to experimental reference data.

@oschulz
Copy link
Member

oschulz commented Dec 9, 2022

Yes, we'd like to offer a few "standard models", like BAT-C++ did. Since we can be more modular in Julia, this wouldn't necessarily have to be part of BAT.jl itself, we can do this in separate packages.

@InnerWolf on what time scale do you need this?

@yemsb yemsb closed this as completed Dec 9, 2022
@yemsb
Copy link
Author

yemsb commented Dec 9, 2022

Hey @oschulz! Thanks for the quick reply. Great news. I wouldn't mind if you move this to another Julia package.

My timescale is not so urgent, I'm currently developing a program based on the BCMTF model from C++ and it works rather well. Right now I don't see an immediate reason or benefit from switching to the Julia version. But going into the future I might want to switch to the actively maintained version of BAT.

I would have one more question: Will using HMC be possible when using such a multi-template fitter? Or am I stuck with MHA anyway?

@yemsb yemsb reopened this Dec 9, 2022
@oschulz
Copy link
Member

oschulz commented Dec 9, 2022

Will using HMC be possible when using such a multi-template fitter?

Yes, absolutely (since it'll be auto-differentiable). All samplers, including nested sampling, will work with it.

@yemsb
Copy link
Author

yemsb commented Dec 9, 2022

Okay I see, thanks. Feel free to resolve this issue if needed!

@oschulz
Copy link
Member

oschulz commented Dec 9, 2022

Let's keep it open until we actually have it implemented somewhere.

@oschulz
Copy link
Member

oschulz commented Oct 11, 2023

Update on this: A Julia implementation with BAT.jl interface for the upcoming HS3 standard is currently under development. HS3 covers template fits and much more..

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