Skip to content

Commit 0bd079c

Browse files
author
Silvia Toonen
committed
bugfix how_to_run_TRES_from_AMUSE: add matplotlib
1 parent 68b2043 commit 0bd079c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

developer/how_to_run_TRES_from_AMUSE.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from amuse.units import units
99
from amuse.community.seba.interface import SeBa
1010
import TRES as TRES
11-
11+
import matplotlib.pyplot as plt
1212

1313
#simplest way of running TRES
1414
def example_1():
@@ -187,7 +187,7 @@ def example_5():
187187

188188
for i in range(len(time_array)):
189189
tr.evolve_model(time_array[i])
190-
print(time_array[i], tr.triple.child2.bin_type, tr.instantaneous_evolution,tr.triple.child2.child1.stellar_type)
190+
# print(time_array[i], tr.triple.child2.bin_type, tr.instantaneous_evolution,tr.triple.child2.child1.stellar_type)
191191
inner_semimajor_axis_array = np.append(inner_semimajor_axis_array, tr.triple.child2.semimajor_axis.value_in(units.RSun))
192192
outer_semimajor_axis_array = np.append(outer_semimajor_axis_array, tr.triple.semimajor_axis.value_in(units.RSun))
193193
radius_primary_array = np.append(radius_primary_array, tr.triple.child2.child1.radius.value_in(units.RSun))

0 commit comments

Comments
 (0)