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
The BBB package should be updated to supply the maximum flux and the time of that in the case of the Bazin fit (see below for code), and the BBB features include these
The BBB features should make extinction corrections before running the fit
In the case of a host galaxy with distance, the BBB features should compute peak absMag from the above
maxq = 0
maxwl = 0
for wl in WL:
q = blackbody(wl, dictb['T'])
if q > maxq:
maxq = q
maxwl = wl
tau = -math.log(dictb['kf']/(dictb['kr']-dictb['kf'])) / dictb['kr']
maxt = dictb['t0'] + tau
print('time, flux is', maxt, bazin(t, maxwl, p))
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: