Skip to content

Improve h_mode_detector: require max gradient in pedestal region and adjust threshold #295

Merged
jmcclena merged 1 commit intomasterfrom
fix-h-mode-detector-v2
Mar 24, 2026
Merged

Improve h_mode_detector: require max gradient in pedestal region and adjust threshold #295
jmcclena merged 1 commit intomasterfrom
fix-h-mode-detector-v2

Conversation

@nanshi1177
Copy link
Contributor

Added rho0 > 0.8 check to prevent false H-mode detection when the max gradient is in the core (e.g. peaked profiles at rho~0.5). Adjusted default threshold from 0.3 to 0.4.

…adjust threshold

  Added rho0 > 0.8 check to prevent false H-mode detection when the max gradient is in the core (e.g. peaked profiles at rho~0.5). Adjusted default threshold from 0.3 to 0.4.
@nanshi1177 nanshi1177 requested a review from jmcclena March 23, 2026 23:44
@jmcclena jmcclena merged commit 167a2f4 into master Mar 24, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants