HomeDocs-Technical WhitePaper09-EFT.WP.Core.Density v1.0

Chapter 7 — Discretization and Histograms


I. Objectives and Scope


II. Notation and Conventions


III. One-Dimensional Histogram Density Estimation (Probability View)


IV. Multivariate Histograms and Voxelization (Probability and Physical Views)

  1. 2D probability histogram (equal-width example):
    S92-20 : p_hat[j,k] = count_{j,k} / ( N * Delta_x * Delta_y ).
  2. Physical density voxel conservation:
    S92-11 : mass_preserve = ( ∑_i rho_i * V_i ); publish the target M_ref = ( ∫ rho dV ) or a baseline mass for reconciliation.
  3. Cell mass and piecewise-constant reconstruction:
    • S92-25 : M_c = ( ∫_{cell c} rho(x) dV );
    • S92-26 : rho_tilde(x ∈ cell c) = M_c / V_c.
  4. Curvilinear coordinates (discrete Jacobian):
    rho_u(u) = rho_x( x(u) ) * | det( ∂x/∂u ) |; compute V_i in the target coordinate system.

V. Bin-Width Selection Rules and Recommendations


VI. Boundaries, Overflows, and Missingness


VII. Error, Bias, and Uncertainty (Histogram Convention)


VIII. Conservation and Resampling (Refine / Coarsen)


IX. Engineering Workflow Mx-96 (Conservative Refinement/Coarsening)

  1. Inputs. mode ∈ {"hist-pdf","grid-phys"}; edges or target grid; m_i and w_i; reference mass M_ref (physical view).
  2. Preprocessing. Drop m_i = 0; handle overflows; optional normalization/de-trending (publish in original units).
  3. Bin/grid selection. Choose edges via Delta_FD / Delta_Scott / K_Sturges or external policy; compute Delta_j and metadata.
  4. Statistics and estimation.
    • Probability view: p_hat_j via S92-18/19.
    • Physical view: compute rho_i and M_c / M_ref.
  5. Conservation checks.
    • Probability: ∑ p_hat_j * Delta_j = 1.
    • Physical: verify S92-11, output mass_rel_err.
  6. Resampling (optional). Refine/coarsen to target grid with conservative remapping; repeat conservation checks.
  7. Report and persistence. Emit hist.parquet|nc with suggested fields: edges, centers, Delta_j, counts, p_hat, weighted, W, underflow, overflow, mass_rel_err, qc{}.
  8. Provenance and cross-volume alignment. Record ts, tau_mono, fmt, chan; if the time axis is aligned by T_arr, attach delta_form (see Core.Sea Chapter 8).

X. Interface Contract (Aligned with I90 4)


XI. Cross-Volume and Cross-Chapter Consistency


XII. Minimal Publication Manifest (Suggested)
N, K, edges, Delta_j or Delta, counts, p_hat, weighted, W, underflow, overflow, sum_pDelta, mode, unit(x), unit(p_hat), ts, tau_mono, fmt, q_score.


XIII. Chapter Highlights


Copyright & License (CC BY 4.0)

Copyright: Unless otherwise noted, the copyright of “Energy Filament Theory” (text, charts, illustrations, symbols, and formulas) belongs to the author “Guanglin Tu”.
License: This work is licensed under the Creative Commons Attribution 4.0 International (CC BY 4.0). You may copy, redistribute, excerpt, adapt, and share for commercial or non‑commercial purposes with proper attribution.
Suggested attribution: Author: “Guanglin Tu”; Work: “Energy Filament Theory”; Source: energyfilament.org; License: CC BY 4.0.

First published: 2025-11-11|Current version:v5.1
License link:https://creativecommons.org/licenses/by/4.0/