Add TV/polar-TV, trust-gating, edge-guard, HV_polar misfit and VE precompute (new enhanced script)#5
Open
Fuwsusu wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
center→edgecontamination by adding directional regularizers and high-frequency guards.HV_polarphasor decomposition for separate amplitude/phase treatment.Description
enableTV,lambda_tv,eps_tv) and a polar/radial TV (enablePolarReg,lambda_polar,eps_polar_reg) with relative normalization and added them into the gradient pipeline.enableTrustGate,phi_small_drop_ratio,alpha_gate_*,lambda_polar_gate_*) that scale step sizes and radial-TV when data-consistency and ring metrics indicate risk.enableEdgeGuard,lambda_edge_anchor,edge_step_damp_max,edge_blend_*) that anchors outer ring to low-frequency reference and damps updates on the periphery; implemented masks (ring_bg_mask,edge_guard_mask) and contamination metrics used by the gate.HV_polarmisfit (amplitude/phase decomposition) with per-pass phase weight (alpha_hv/alpha_hv_atten), channel confidence weighting for virtual receivers (beta_ve), illumination preconditioning (enableIllumComp), three-stage low-frequency prior saving/apply (enableLFPrior,VEL_stage1_ref,VEL_stage2_ref), and a per-frequency VE precompute with two frac-shift variants; added a new fileMultiFrequencyWaveformInvkWave_fws20260409_2.mcontaining the full enhanced script.PHI_ITER,DELTA_PHI_ITER,TAU_SHIFT_ITER,R_RING_ITER,GAMMA_TRUST_ITER,ALPHA_GATE_ITER,LAMBDA_POLAR_EFF_ITER,LAMBDA_EDGE_EFF_ITER,EDGE_*arrays and saved them into the results.matfor post-analysis.saveGIFlogic) and restrict scaling to real receivers when computingscalingto avoid virtual-Rx bias.Testing
Codex Task