style: apply black formatting to pending files
This commit is contained in:
@@ -189,11 +189,7 @@ def _apply_figure_header(fig: Figure, meta: Dict[str, Any]) -> None:
|
||||
"""Write the figure header/footer lines from the CSV metadata."""
|
||||
e_step_keV = (meta["e_step_MeV"] or 0.0) * 1000.0
|
||||
endpoint = meta["endpoint_keV"]
|
||||
header = (
|
||||
f"{meta['nuclide']} "
|
||||
f"| E₀={endpoint:.1f} keV "
|
||||
f"| ΔE={e_step_keV:.1f} keV"
|
||||
)
|
||||
header = f"{meta['nuclide']} | E₀={endpoint:.1f} keV | ΔE={e_step_keV:.1f} keV"
|
||||
fig.text(
|
||||
0.01,
|
||||
0.98,
|
||||
|
||||
@@ -219,9 +219,7 @@ def main() -> None:
|
||||
print(f"{'=' * 60}")
|
||||
print(f"Run range: {min(run_ids)} - {max(run_ids)}")
|
||||
print(f"Total counts: {min(total_rates):.0f} - {max(total_rates):.0f}")
|
||||
print(
|
||||
f"Low-energy fraction: {min(low_fractions):.3f} " f"- {max(low_fractions):.3f}"
|
||||
)
|
||||
print(f"Low-energy fraction: {min(low_fractions):.3f} - {max(low_fractions):.3f}")
|
||||
print(f"Endpoint estimate: {min(endpoints):.1f} - {max(endpoints):.1f} keV")
|
||||
|
||||
# Endpoint drift
|
||||
|
||||
Reference in New Issue
Block a user