Note
Go to the end to download the full example code.
Depth vs diameter of fresh lunar craters#
By David Minton
This example shows the initial depth-to-diameter ratio of fresh lunar craters in Cratermaker, and compares them with measurements from the literature.
Sources#
The model for the rim floor elevations as a function of crater diameter for large craters (diameters larger than ~5km), including their scatter, is taken from Pike (1977) [1]
For small craters (diameters smaller than ~5km), the depth-to-diameter model is taken as a weighted average between two models: 1) A modified version of the profile function given in Fassett and Thomson (2014) [2], which takes depth as a variable quantity. 2) The suite of profile functions given in Yang et al. (2021) [3]. The weighting factor is set such that for craters larger than 5 km, all craters use the Fassett and Thomson profile, and all craters smaller than 50 m use one of the Yang et al. profiles (chosen at random for diameters less than 180 m, otherwise the “normal” version is used). In between, the weighting of the FT14 to Y21 profile models (and their depth) is chosen from a weighted gaussian function that biases the profiles to the shallower Y21 model for small craters and to the deeper FT14 model for large craters within the range.
Measurements of depth-to-diameter values for fresh craters are drawn from Pike (1974) [4], Stopar et al. (2017) [5] (only the Class A craters), and Hoover et al. (2024) [6].
References#
import matplotlib.pyplot as plt
import numpy as np
import polars as pl
from cratermaker import Simulation
simdir = "simdata-4.5"
xmin, xmax = 0.01, 1000.0
ymin, ymax = 0.0, 0.30
# Compute depth-to-diameter for 1000 craters in Cratermaker across the size range of interest
sim = Simulation(simdir=simdir, gridlevel=0, ask_overwrite=False, reset=True)
cm_diameter = np.exp(sim.rng.uniform(low=np.log(xmin), high=np.log(xmax), size=1000))
cm_dD = []
for diameter in cm_diameter * 1e3:
crater = sim.Crater.maker(diameter=diameter)
cm_dD.append(crater.depth_to_diameter)
# Read in observational data
df_pike_mare = pl.read_csv("Pike1974-Mare.csv")
df_pike_highlands = pl.read_csv("Pike1974-Highlands.csv")
df_hoover = pl.read_csv("Hoover2024Table2.csv")
df_stopar = pl.read_csv("S2-Stopar_et_al._Simple_Craters.csv")
diam_stopar = df_stopar["Diameter, crater (m)"].to_numpy() * 1e-3
dD_stopar = df_stopar["depth/ Diameter"].to_numpy()
class_stopar = df_stopar["Class (FINAL)"].to_numpy()
# Plot depth/diameter vs diameter
fig, ax = plt.subplots(figsize=(15, 8), layout="constrained")
ax.set_ylim(ymin, ymax)
ax.set_xlim(xmin, xmax)
ax.set_xscale("log")
ax.set_xlabel("Diameter (km)")
ax.set_ylabel("Depth/Diameter")
ax.scatter(
x=df_pike_mare["Diameter (km)"],
y=df_pike_mare["Depth (km)"] / df_pike_mare["Diameter (km)"],
label="Pike (1974) Mare",
zorder=10,
)
ax.scatter(
x=df_pike_highlands["Diameter (km)"],
y=df_pike_highlands["Depth (km)"] / df_pike_highlands["Diameter (km)"],
label="Pike (1974) Highlands",
zorder=10,
)
ax.errorbar(
x=df_hoover["D(m)"] * 1e-3,
y=df_hoover["d/D"],
yerr=df_hoover["err"],
fmt="s",
label="Hoover et al. (2024)",
zorder=10,
)
ax.scatter(
x=diam_stopar[class_stopar == "A"],
y=dD_stopar[class_stopar == "A"],
label="Stopar et al. (2017) Class A",
zorder=10,
)
ax.scatter(
x=cm_diameter,
y=cm_dD,
label="Cratermaker",
marker="o",
color="black",
s=5,
zorder=1,
)
ax.legend(loc="upper right")
plt.show()
# Plot depth vs diameter
fig, ax = plt.subplots(figsize=(10, 8), layout="constrained")
ymin, ymax = 0.001, 10.0
ax.set_ylim(ymin, ymax)
ax.set_xlim(xmin, xmax)
ax.set_xscale("log")
ax.set_yscale("log")
ax.set_xlabel("Diameter (km)")
ax.set_ylabel("Depth (km)")
ax.scatter(
x=df_pike_mare["Diameter (km)"],
y=df_pike_mare["Depth (km)"],
label="Pike 1974 Mare",
zorder=10,
)
ax.scatter(
x=df_pike_highlands["Diameter (km)"],
y=df_pike_highlands["Depth (km)"],
label="Pike 1974 Highlands",
zorder=10,
)
ax.errorbar(
x=df_hoover["D(m)"] * 1e-3,
y=df_hoover["d/D"] * df_hoover["D(m)"] * 1e-3,
yerr=df_hoover["D(m)"] * df_hoover["err"] * 1e-3,
fmt="s",
label="Hoover et al. (2024)",
zorder=10,
)
ax.scatter(
x=diam_stopar[class_stopar == "A"],
y=dD_stopar[class_stopar == "A"] * diam_stopar[class_stopar == "A"],
label="Stopar et al. (2017) Class A",
zorder=10,
)
ax.scatter(
x=cm_diameter,
y=cm_dD * cm_diameter,
label="Cratermaker",
marker="o",
color="black",
s=5,
zorder=1000,
)
ax.legend(loc="lower right")
plt.show()
Creating a new grid
Generating a mesh with icosphere level 0.
Depth vs diameter measurement files#
Hoover2024Table2.csvPike1974-Mare.csvPike1974-Highlands.csvS2-Stopar et al. Simple Craters.csv
Total running time of the script: (0 minutes 9.310 seconds)

