|
RadCluster
Graph-based cluster dynamics for irradiated materials
|
Functions | |
| euro (df) | |
| _read (name) | |
| experiment () | |
| with_diameters (d) | |
| trajectories () | |
| _linear_extent (key, traj, df, expcol) | |
| one_figure (key, ylabel, logy, expkey, expcol, traj, EXP) | |
| _keys (df) | |
| _macro_name (key) | |
| write_sources (panel_keys) | |
| main () | |
Variables | |
| MOD = Path(__file__).resolve().parent.parent | |
| REPO = MOD.parent | |
| str | DB = REPO / "docs" / "Database" |
| str | OUT = REPO / "docs" / "Formulation" / "verification_campaign" / "figs" |
| LABEL_PT | |
| TICK_PT | |
| LEGEND_PT | |
| list | LADDER |
| list | OBSERVABLES |
| dict | EXP_COLOR = {"loop111": "#1f77b4", "loop100": "#7d3c98", "cavity": "#e8663c"} |
| dict | EXP_MARK = {"loop111": "o", "loop100": "s", "cavity": "^"} |
| dict | YMIN |
| dict | EXP_EXCLUDE |
| dict | PAPER_TO_KEY |
| list | KEY_ORDER |
| str | SOURCES_TEX = OUT / "sources.tex" |
| tuple | XLIM = (1e-6, 60.0) |
| dict | XLIM_OVERRIDE |
| dict | _DIGIT |
make_size_effect_figures.py — dose dependence of each observable across the Table 4 system-size ladder, with the EUROFER97 measurements overlaid. One figure per observable, curves ordered D, C4, C3, C2, C1, C0 (increasing number of equations after the exact arm). d_111 is excluded by request. C4/P=1 is excluded: it is a closure-ORDER column, not a system-size rung, and at +345% it would set the scale of every panel. DOSE COVERAGE. These runs stop at 2 dpa; the EUROFER97 neutron data sit at 14.6-32 dpa (loops) and 2.7-32 dpa (cavities). The overlay therefore shows almost no overlap, and that is the honest picture rather than a defect of the figure: Table 4 is a VERIFICATION at low dose, and nothing in it may be read as agreement with experiment. The band is drawn where the data actually are so a reader cannot mistake the unconstrained region for a validated one. Output: docs/Formulation/verification_campaign/figs/size_effect_<observable>.pdf
|
protected |
Citation keys for the rows actually plotted, in KEY_ORDER.
Definition at line 278 of file make_size_effect_figures.py.
|
protected |
Range of the model curves and measurements *inside the plotted window*. Restricted to the panel's own x-limits: the transient below the left edge carries diameters well above anything on screen, and including it set the ordinate from data the reader never sees.
Definition at line 201 of file make_size_effect_figures.py.
|
protected |
Definition at line 299 of file make_size_effect_figures.py.
|
protected |
Definition at line 147 of file make_size_effect_figures.py.
| make_size_effect_figures.euro | ( | df | ) |
Definition at line 140 of file make_size_effect_figures.py.
| make_size_effect_figures.experiment | ( | ) |
Definition at line 153 of file make_size_effect_figures.py.
| make_size_effect_figures.main | ( | ) |
Definition at line 320 of file make_size_effect_figures.py.
| make_size_effect_figures.one_figure | ( | key, | |
| ylabel, | |||
| logy, | |||
| expkey, | |||
| expcol, | |||
| traj, | |||
| EXP | |||
| ) |
Definition at line 223 of file make_size_effect_figures.py.
| make_size_effect_figures.trajectories | ( | ) |
Definition at line 186 of file make_size_effect_figures.py.
| make_size_effect_figures.with_diameters | ( | d | ) |
Add d_100_nm / d_cavity_nm as TIME SERIES. They are not in `results`: post_process stores mean_n_100 and mean_n_v, and the diameters are formed only inside the at_dose ladder. Plotting the raw key therefore silently produced panels with the experimental band and no model curves at all -- caught by looking at the figure, not by the run succeeding. Same expressions the ladder uses, so figure and table agree.
Definition at line 162 of file make_size_effect_figures.py.
| make_size_effect_figures.write_sources | ( | panel_keys | ) |
Emit \\srcNloops111 etc. so the captions cite what was actually drawn. Hand-copied citations drift the moment a row is added to the database; this keeps the caption and the plotted points derived from one source of truth.
Definition at line 304 of file make_size_effect_figures.py.
|
protected |
Definition at line 295 of file make_size_effect_figures.py.
| str make_size_effect_figures.DB = REPO / "docs" / "Database" |
Definition at line 37 of file make_size_effect_figures.py.
| dict make_size_effect_figures.EXP_COLOR = {"loop111": "#1f77b4", "loop100": "#7d3c98", "cavity": "#e8663c"} |
Definition at line 75 of file make_size_effect_figures.py.
| dict make_size_effect_figures.EXP_EXCLUDE |
Definition at line 95 of file make_size_effect_figures.py.
| dict make_size_effect_figures.EXP_MARK = {"loop111": "o", "loop100": "s", "cavity": "^"} |
Definition at line 76 of file make_size_effect_figures.py.
| list make_size_effect_figures.KEY_ORDER |
Definition at line 122 of file make_size_effect_figures.py.
| make_size_effect_figures.LABEL_PT |
Definition at line 40 of file make_size_effect_figures.py.
| list make_size_effect_figures.LADDER |
Definition at line 55 of file make_size_effect_figures.py.
| make_size_effect_figures.LEGEND_PT |
Definition at line 40 of file make_size_effect_figures.py.
| make_size_effect_figures.MOD = Path(__file__).resolve().parent.parent |
Definition at line 34 of file make_size_effect_figures.py.
| list make_size_effect_figures.OBSERVABLES |
Definition at line 68 of file make_size_effect_figures.py.
| str make_size_effect_figures.OUT = REPO / "docs" / "Formulation" / "verification_campaign" / "figs" |
Definition at line 38 of file make_size_effect_figures.py.
| dict make_size_effect_figures.PAPER_TO_KEY |
Definition at line 111 of file make_size_effect_figures.py.
| make_size_effect_figures.REPO = MOD.parent |
Definition at line 35 of file make_size_effect_figures.py.
| str make_size_effect_figures.SOURCES_TEX = OUT / "sources.tex" |
Definition at line 124 of file make_size_effect_figures.py.
| make_size_effect_figures.TICK_PT |
Definition at line 40 of file make_size_effect_figures.py.
| tuple make_size_effect_figures.XLIM = (1e-6, 60.0) |
Definition at line 129 of file make_size_effect_figures.py.
| dict make_size_effect_figures.XLIM_OVERRIDE |
Definition at line 135 of file make_size_effect_figures.py.
| dict make_size_effect_figures.YMIN |
Definition at line 82 of file make_size_effect_figures.py.