Skip to content

Commit

Permalink
update approx-corr-std
Browse files Browse the repository at this point in the history
  • Loading branch information
odunbar committed Jan 24, 2025
1 parent d5a079b commit 8c37529
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RandomFeature.jl
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ function nice_cov(sample_mat::AA, n_samples = 400, δ::FT = 1.0) where {AA <: Ab
max_exponent = 2 * 5 # must be even
interp_steps = 100
# use find the variability in the corr coeff matrix entries
std_corrs = approximate_corr_std.(corr, n_sample_cov, n_samples) # Found in EKP.Localizers !! slowest part of code -> could speed up by precomputing an interpolation of [-1,1]
std_corrs = (1 .- corr) / sqrt(N_ens)

std_tol = sqrt(sum(std_corrs .^ 2))
α_min_exceeded = [max_exponent]
Expand Down

0 comments on commit 8c37529

Please # to comment.