Deborah.Esther.TOMLConfigEsther

Deborah.Esther.TOMLConfigEsther.BootstrapConfigType
struct BootstrapConfig

Defines bootstrap resampling parameters (block bootstrap).

Fields

  • ranseed::Int : Random seed for reproducibility.
  • N_bs::Int : Number of bootstrap replicates to generate (N_bs $> 0$).
  • blk_size::Int : Block length (blk_size $\ge 1$). Use 1 for i.i.d. bootstrap.
  • method::String : Block-bootstrap scheme to use. Accepted values:
    • "nonoverlapping" : Nonoverlapping Block Bootstrap (NBB). Partition the series into disjoint blocks of length blk_size, then resample those blocks with replacement to reconstruct a series of approximately the original length (last block may be truncated).
    • "moving" : Moving Block Bootstrap (MBB). Candidate blocks are all contiguous length-blk_size windows; resample these with replacement.
    • "circular" : Circular Block Bootstrap (CBB). Like MBB, but windows wrap around the end of the series (circular indexing).

Notes

  • Only the three literal strings above are recognized; other values should raise an error.
  • Resampled series length should match the original; if it overshoots, truncate the final block.
  • Choose blk_size based on dependence strength (larger for stronger autocorrelation).

Example (TOML)

[bootstrap]
ranseed  = 850528
N_bs     = 1000
blk_size = 500
method   = "moving"  # one of: "nonoverlapping", "moving", "circular"
source
Deborah.Esther.TOMLConfigEsther.InputMetaConfigType
struct InputMetaConfig

Lattice configuration and physics metadata.

Fields

  • ns::Int: Spatial lattice size.
  • nt::Int: Temporal lattice size.
  • nf::Int: Number of quark flavors.
  • beta::Float64: Gauge coupling.
  • kappa::Float64: Hopping parameter.
source
Deborah.Esther.TOMLConfigEsther.TraceDataConfigType
struct TraceDataConfig

Configuration for trace data input and model settings used in each trace moment (TrM).

Fields

  • location::String: Root directory where trace data is stored.
  • ensemble::String: Ensemble identifier (e.g., L8T4b1.60k13570).
  • analysis_header::String: Identifier prepended to all analysis folders.
  • TrM1_X::Vector{String}: Input observables for $\text{Tr} \, M^{-1}$.
  • TrM1_Y::String: Target observable for $\text{Tr} \, M^{-1}$.
  • TrM1_model::String: Model used for $\text{Tr} \, M^{-1}$ (e.g., "LightGBM").
  • TrM2_X::Vector{String}: Input observables for $\text{Tr} \, M^{-2}$.
  • TrM2_Y::String: Target observable for $\text{Tr} \, M^{-2}$.
  • TrM2_model::String: Model used for $\text{Tr} \, M^{-2}$.
  • TrM3_X::Vector{String}: Input observables for $\text{Tr} \, M^{-3}$.
  • TrM3_Y::String: Target observable for $\text{Tr} \, M^{-3}$.
  • TrM3_model::String: Model used for $\text{Tr} \, M^{-3}$.
  • TrM4_X::Vector{String}: Input observables for $\text{Tr} \, M^{-4}$.
  • TrM4_Y::String: Target observable for $\text{Tr} \, M^{-4}$.
  • TrM4_model::String: Model used for $\text{Tr} \, M^{-4}$.
  • LBP::Int: Number of bootstrap label partitions.
  • TRP::Int: Number of bootstrap training partitions.
  • use_abbreviation::Bool: If true, use abbreviated input IDs (e.g., Plaq-Rect instead of plaq.dat_rect.dat).
source
Deborah.Esther.TOMLConfigEsther.get_LatVolMethod
get_LatVol(
    im::InputMetaConfig
) -> Int

Compute the total lattice volume $V = N_S^3 \times N_T$.

Arguments

  • im::InputMetaConfig: Lattice and physics metadata.

Returns

  • Int: Total lattice volume.
source