|
1 | | -Examples |
2 | | -======== |
| 1 | +# Examples |
3 | 2 |
|
4 | | -.. note:: |
5 | | - In order to access the example files, it is necessary to download or clone the `ctplanet` repo from `GitHub <https://github.com/MarkWieczorek/ctplanet>`_. The files are located in the `examples` directory. |
| 3 | +:::{note} |
| 4 | +In order to access the example files, it is necessary to download or clone the [ctplanet repo](https://github.com/MarkWieczorek/ctplanet) from GitHub. The files are located in the `examples` directory. |
| 5 | +::: |
6 | 6 |
|
7 | | -Moon |
8 | | ----- |
| 7 | +## Moon |
9 | 8 |
|
10 | | -.. collapse:: <b>Moon-Crust.py</b> |
11 | | - |
12 | | - .. literalinclude:: ../examples/Moon-Crust.py |
| 9 | +````{collapse} <b>Moon-Crust.py</b> |
| 10 | +```{literalinclude} ../examples/Moon-Crust.py |
| 11 | +``` |
| 12 | +```` |
13 | 13 |
|
14 | 14 | A script that demonstrates how to calculate the thickness of the lunar crust |
15 | 15 | using either a constant or variable density crust. The latter can be used |
16 | 16 | to reproduce the results presented in *Wieczorek et al.* (2013). |
17 | 17 |
|
18 | | -.. collapse:: <b>Moon-Core.py</b> |
19 | | - |
20 | | - .. literalinclude:: ../examples/Moon-Core.py |
| 18 | +````{collapse} <b>Moon-Core.py</b> |
| 19 | +```{literalinclude} ../examples/Moon-Core.py |
| 20 | +``` |
| 21 | +```` |
21 | 22 |
|
22 | 23 | Calculate the hydrostatic relief of the lunar core accounting for the |
23 | 24 | non-hydrostatic potential that comes from the lithosphere. |
24 | 25 |
|
25 | | -Mars |
26 | | ----- |
27 | | - |
28 | | -.. collapse:: <b>Mars-Crust.py</b> |
| 26 | +## Mars |
29 | 27 |
|
30 | | - .. literalinclude:: ../examples/Mars-Crust.py |
| 28 | +````{collapse} <b>Mars-Crust.py</b> |
| 29 | +```{literalinclude} ../examples/Mars-Crust.py |
| 30 | +``` |
| 31 | +```` |
31 | 32 |
|
32 | 33 | A script that demonstrates how to calculate the thickness of the Martian |
33 | 34 | crust using either a constant or variable density crust. For the variable |
34 | 35 | density crust, the density is assumed to change discontinuously across the |
35 | 36 | dichotomy boundary. |
36 | 37 |
|
37 | | -.. collapse:: <b>Mars-Crust-hydrostatic-tests.py</b> |
38 | | - |
39 | | - .. literalinclude:: ../examples/Mars-Crust-hydrostatic-tests.py |
| 38 | +````{collapse} <b>Mars-Crust-hydrostatic-tests.py</b> |
| 39 | +```{literalinclude} ../examples/Mars-Crust-hydrostatic-tests.py |
| 40 | +``` |
| 41 | +```` |
40 | 42 |
|
41 | 43 | Create a crustal thickness map of Mars from gravity and topography and |
42 | 44 | compare how results change if hydrostatic interfaces are not taken into |
43 | 45 | account. |
44 | 46 |
|
45 | | -.. collapse:: <b>Mars-Crust-InSight.py</b> |
46 | | - |
47 | | - .. literalinclude:: ../examples/Mars-Crust-InSight.py |
| 47 | +````{collapse} <b>Mars-Crust-InSight.py</b> |
| 48 | +```{literalinclude} ../examples/Mars-Crust-InSight.py |
| 49 | +``` |
| 50 | +```` |
48 | 51 |
|
49 | 52 | Create a crustal thickness map of Mars from gravity and topography, using |
50 | 53 | the InSight crustal thickness constraint. |
51 | 54 |
|
52 | | -.. collapse:: <b>Mars-Crust-InSight-dichotomy.py</b> |
53 | | - |
54 | | - .. literalinclude:: ../examples/Mars-Crust-InSight-dichotomy.py |
| 55 | +````{collapse} <b>Mars-Crust-InSight-dichotomy.py</b> |
| 56 | +```{literalinclude} ../examples/Mars-Crust-InSight-dichotomy.py |
| 57 | +``` |
| 58 | +```` |
55 | 59 |
|
56 | 60 | Create a crustal thickness map of Mars from gravity and topography, using |
57 | 61 | the InSight crustal thickness constraint and different densities across |
58 | 62 | the dichotomy boundary. |
59 | 63 |
|
60 | | -.. collapse:: <b>Mars-fcn.py</b> |
61 | | - |
62 | | - .. literalinclude:: ../examples/Mars-fcn.py |
| 64 | +````{collapse} <b>Mars-fcn.py</b> |
| 65 | +```{literalinclude} ../examples/Mars-fcn.py |
| 66 | +``` |
| 67 | +```` |
63 | 68 |
|
64 | 69 | Compute the free core nutation period of Mars. |
65 | 70 |
|
66 | | -.. collapse:: <b>Mars-shape.py</b> |
67 | | - |
68 | | - .. literalinclude:: ../examples/Mars-shape.py |
| 71 | +````{collapse} <b>Mars-shape.py</b> |
| 72 | +```{literalinclude} ../examples/Mars-shape.py |
| 73 | +``` |
| 74 | +```` |
69 | 75 |
|
70 | 76 | Create images related to Mars in *Wieczorek et al.* (2019). |
71 | 77 |
|
72 | | -.. collapse:: <b>Mars-j2.py</b> |
73 | | - |
74 | | - .. literalinclude:: ../examples/Mars-j2.py |
| 78 | +````{collapse} <b>Mars-j2.py</b> |
| 79 | +```{literalinclude} ../examples/Mars-j2.py |
| 80 | +``` |
| 81 | +```` |
75 | 82 |
|
76 | 83 | Compute the contribution to the gravitational J2 of Mars from hydrostatic |
77 | 84 | interfaces beneath the lithosphere. |
78 | 85 |
|
79 | | -Earth |
80 | | ------ |
| 86 | +## Earth |
81 | 87 |
|
82 | | -.. collapse:: <b>Earth-shape.py</b> |
83 | | - |
84 | | - .. literalinclude:: ../examples/Earth-shape.py |
| 88 | +````{collapse} <b>Earth-shape.py</b> |
| 89 | +```{literalinclude} ../examples/Earth-shape.py |
| 90 | +``` |
| 91 | +```` |
85 | 92 |
|
86 | 93 | Compute hydrostatic relief of Earth using PREM. |
87 | 94 |
|
88 | | -Ceres |
89 | | ------ |
90 | | - |
91 | | -.. collapse:: <b>Ceres-shape.py</b> |
| 95 | +## Ceres |
92 | 96 |
|
93 | | - .. literalinclude:: ../examples/Ceres-shape.py |
| 97 | +````{collapse} <b>Ceres-shape.py</b> |
| 98 | +```{literalinclude} ../examples/Ceres-shape.py |
| 99 | +``` |
| 100 | +```` |
94 | 101 |
|
95 | 102 | Calculate the hydrostatic shape of Ceres. |
0 commit comments