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
Source version in Model #352
Comments
@bastiencarreres, we should be able to implement this. Do you have an example script/test that you would like to see work? Also, @cwwalter this seems like something that might help the next round of DESC simulations as well. |
Hi @benjaminrose , I was thinking of something simple, that could be used for fit or simulation, as for example
In the
where the
I have tested |
Also tagging @jchiang87. |
Tagging @JoanneBogart. |
@bastiencarreres, yeah, I think we should add this. This allows people to use
Then you can use @JoanneBogart, with this patch, we can add a similar version value to skyCatalogs's class |
Hello guys, I'm also interested with this functionality. The proposition from @bastiencarreres looks like the good one to me. model = sncosmo.Model("salt2", version="2.4") or a parsable string (that may helps the dev as no new variables) model = sncosmo.Model("salt2 v=2.4") or (and this would be cleaner from the start: forbid the fact that sources may have the same Name (so rename "salt2"->salt2.4, salt2T21, salt2B22 etc) model = sncosmo.Model("salt2.4") |
Hi,
First, thank you for this library!
I'm working on SN Ia simulation and I would keep track of the Source version that I can use in some meta-file to re-load the same model when needed. I have remarked that the
class Model(_ModelBase)
has not aversion
arg that can be passed toget_source
. Is it something that can be implemented in a future version?The text was updated successfully, but these errors were encountered: