You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fitting some data with a IIn template gives an error with nestle due to a negative h.
"""
File "/Users/suhaildhawan/workspaces/LSST/time_delays/core-collapse/simulate_sntd.py", line 43, in
fitCurves=sntd.fit_data(misn,snType=snType,models=template,bands=filt_ls,
File "/Users/suhaildhawan/.local/lib/python3.9/site-packages/sntd/fitting.py", line 568, in fit_data
curves = _fitparallel(args)
File "/Users/suhaildhawan/.local/lib/python3.9/site-packages/sntd/fitting.py", line 2725, in _fitparallel
res, fit = sncosmo.nest_lc(fit_table, tempMod, [x for x in args['params'] if x in tempMod.param_names],
File "/opt/anaconda3/lib/python3.9/site-packages/sncosmo/fitting.py", line 1099, in nest_lc
res = nestle.sample(loglike, prior_transform, ndim, npdim=npdim,
File "/Users/suhaildhawan/.local/lib/python3.9/site-packages/nestle.py", line 985, in sample
raise RuntimeError("Negative h encountered (h={}). Please report "
RuntimeError: Negative h encountered (h=-8.102136181477137e+23). Please report this as a likely bug.
"""
The text was updated successfully, but these errors were encountered:
Fitting some data with a IIn template gives an error with nestle due to a negative h.
"""
File "/Users/suhaildhawan/workspaces/LSST/time_delays/core-collapse/simulate_sntd.py", line 43, in
fitCurves=sntd.fit_data(misn,snType=snType,models=template,bands=filt_ls,
File "/Users/suhaildhawan/.local/lib/python3.9/site-packages/sntd/fitting.py", line 568, in fit_data
curves = _fitparallel(args)
File "/Users/suhaildhawan/.local/lib/python3.9/site-packages/sntd/fitting.py", line 2725, in _fitparallel
res, fit = sncosmo.nest_lc(fit_table, tempMod, [x for x in args['params'] if x in tempMod.param_names],
File "/opt/anaconda3/lib/python3.9/site-packages/sncosmo/fitting.py", line 1099, in nest_lc
res = nestle.sample(loglike, prior_transform, ndim, npdim=npdim,
File "/Users/suhaildhawan/.local/lib/python3.9/site-packages/nestle.py", line 985, in sample
raise RuntimeError("Negative h encountered (h={}). Please report "
RuntimeError: Negative h encountered (h=-8.102136181477137e+23). Please report this as a likely bug.
"""
The text was updated successfully, but these errors were encountered: