From d16f6c76604ef23b41cdaf470241081f5b61feda Mon Sep 17 00:00:00 2001 From: Nuwan Yapa Date: Fri, 5 Jun 2026 12:26:45 -0400 Subject: [PATCH] Overdetermined fit (decreased Pade order) --- calculations/EC+ACCC.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/calculations/EC+ACCC.jl b/calculations/EC+ACCC.jl index 34e43e1..78199fc 100644 --- a/calculations/EC+ACCC.jl +++ b/calculations/EC+ACCC.jl @@ -27,7 +27,7 @@ training_E = EC.training_E quick_extrapolate(c) = argmin(real, get_extrapolated_evals(EC.H0_EC, EC.H1_EC, EC.N_EC, c, 0)) -n_EC = 10 +n_EC = 30 EC_c = (1.8 .+ rand(n_EC)) .+ 0.001im .* (-2 .+ 4 * rand(n_EC)) target_c = 0.0 : 0.2 : 1.2 @@ -47,7 +47,7 @@ println("Estimated c0 = ", c0) EC_k = alt_sqrt.(EC_E) -order::Int = ceil((length(EC_c) - 1) / 2) # order of the Pade approximant +order::Int = 5 # order of the Pade approximant # Solve coefficients as a linear system M_left_element(c, i) = alt_sqrt(c - c0)^i