Deborah.Miriam.ReweightingCurve
Deborah.Miriam.ReweightingCurve.reweighting_curve! — Methodreweighting_curve!(
rw::Reweighting.ReweightingSolver{T},
ens_array::Ensemble.EnsembleArray{T},
nkappaT::Int,
bin_size::Int,
fname::String,
jobid::Union{Nothing, String}=nothing
) -> NothingCompute and export reweighting curves and transition $\kappa_T$ estimates based on interpolated cumulants.
This function performs a full sweep of reweighting analysis:
- Scans
nkappaTvalues of $\kappa_T$ over the range defined by the ensemble. - Computes reweighted observables (chiral condensate, susceptibility, skewness, kurtosis, Binder cumulant) at each point.
- Tracks the peak (or extremum) $\kappa_T$ for each observable.
- Uses 3-point Lagrange interpolation around the extremum to estimate transition $\kappa_T$.
- Exports full sweep and transition analysis results to a file.
Arguments
rw::Reweighting.ReweightingSolver{T}: Instance holding ensembles and internal buffer for reweighting weights.ens_array::Ensemble.EnsembleArray{T}: Ensemble data for scanning $\kappa_T$.nkappaT::Int: Number of $\kappa_T$ points to scan across the range.bin_size::Int: Bin size for Jackknife resampling.fname::String: Output filename where curve and transition results will be written.jobid::Union{Nothing, String}: Optional job ID tag for logging.
Behavior
- Writes header and reweighting data to
fname. - Writes estimated transition $\kappa_T$s for
susp,skew, andkurtvia interpolation of jackknife resamples. - Logs each transition computation phase using
Deborah.Sarah.JobLoggerTools.log_stage_sub1_benji.
Returns
Nothing: All output is side-effect (written to file, modifies internal weightsrw.w).