Record negative density mechanism, interval audits, and resolution options

This commit is contained in:
2026-09-19 10:16:03 -04:00
parent d1a594808f
commit 7ed4d232d0
3 changed files with 668 additions and 2 deletions

View File

@@ -198,8 +198,9 @@ def plots(campaign, output):
ax.set_title(title)
ax.set_xlabel('Distance inward from surface / reference radius')
ax.set_ylabel('Density (model units)')
ax.set_xlim(0., x[-1] * .32)
shown = [float(r[k]) for r in line if float(r['inward_coordinate']) <= .3
depth_limit = .08 if name == 'n1p5_equilibrium' else .5
ax.set_xlim(0., x[-1] * depth_limit)
shown = [float(r[k]) for r in line if float(r['inward_coordinate']) <= depth_limit
for k in ('rho', 'rho_from_h', 'rho_projected_production')]
span = max(shown) - min(shown)
ax.set_ylim(min(shown) - .08 * span, max(shown) + .08 * span)