Use the auxiliary functions as a shortcut to create the PlateReconstruction and PlotTopologies objects for a given model name.
Visit this page
if you would like to know more about the PlateReconstruction
and PlotTopologies
.
In [1]:
from gplately.auxiliary import get_gplot, get_plate_reconstruction
# use the auxiliary function to create a PlateReconstruction object
plate_reconstruction_obj = get_plate_reconstruction("Muller2019")
print(plate_reconstruction_obj)
# use the auxiliary function to create a PlotTopologies object
plot_topologies_obj = get_gplot("Muller2019", time=140)
print(plot_topologies_obj)
<gplately.reconstruction.PlateReconstruction object at 0x14b392d50> <gplately.plot.PlotTopologies object at 0x14b39c6d0>
There is a PlateReconstruction
object inside the PlotTopologies
object. So, in most cases, a single get_gplot() call is enough.
You can retrieve the PlateReconstruction
object from a PlotTopologies
object later.
In [2]:
plate_reconstruction_obj_within_plot_topologies_obj = (
plot_topologies_obj.plate_reconstruction
)
print(plate_reconstruction_obj_within_plot_topologies_obj)
<gplately.reconstruction.PlateReconstruction object at 0x13fd07cd0>