Closed TomWagg closed 2 years ago
I thought that if I were to update the values of tphys
for each of the initial binaries this might solve it but this seems to make it so that only one line of output is given in bpp
rather than one for each kstar...
Ahhhhh -- ok! so the population sampler (i.e. here) assigns tphysf
by setting SF_start
and SF_duration
. I think you should be able to just recast tphysf
with the true ages (and do the same thing with the metallicity as well by recasting metallicity
) in the initialbinaries DataFrame.
Okay so I think this is approximately what I tried but it gave me strange results (bpp only having one line per binary). I set the metallicities here and I test changing tpyhs
here with a toggle for comparing
(It is possible that I got the tphys
definition backwards, I kept debating between =lookback_time
and =max_ev_time - lookback_time
)
If only I knew how to read 🙃 Setting tpyhsf
rather than tphys
does the trick!
This'll be a question for @katiebreivik.
I'm currently evolving every binary in COSMIC for 13.7 billion years - this is not correct given that they each have different birth times. We should account for this. Either:
max_ev_time
individually 🤞🏻bcm
to include a timestep of an exact time for each binary perhaps?