Skip to content

Commit d5a3522

Browse files
committed
small update for triples on OrbitalEvolution.py
1 parent 29d35af commit d5a3522

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/plons/OrbitalEvolution.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -565,6 +565,9 @@ def plotMassAccrRate(setup, sinkData, run, loc):
565565
# MaccrBHL, MaccrEffBHL, MaccrBHL_av,MaccrEffBHL_av = BHLMassAccrRate(setup,sinkData,loc) #Already calculated earlier
566566
plt.plot(sinkData['time'], MaccrBHL/cgs.Msun * cgs.year /Mdot,color = 'royalblue', linestyle = 'dotted',linewidth=0.8)
567567

568+
if setup['triple_star']==True:
569+
plt.plot(t_yrs[:-1],accrRates_in/Mdot,color = 'lime', linestyle = 'solid')
570+
568571
# '''
569572
# Plot vertical lines indicating where there are apastron and periastron passages
570573
period = setup['period'] / cgs.year

0 commit comments

Comments
 (0)