Skip to content

Implement NICE direct mode#124

Merged
SBlokhuizen merged 19 commits intodevelopfrom
feature/nice-direct-mode
Sep 26, 2025
Merged

Implement NICE direct mode#124
SBlokhuizen merged 19 commits intodevelopfrom
feature/nice-direct-mode

Conversation

@SBlokhuizen
Copy link
Copy Markdown
Collaborator

@SBlokhuizen SBlokhuizen commented Aug 28, 2025

This introduces support for running NICE in direct mode from the plasma shape editor. A new radio button allows switching between NICE inverse and direct modes. To use direct mode, the path to the NICE MUSCLE3 executable must be provided.

Coil currents from the most recent run are preserved, enabling a workflow where NICE is first run in inverse mode to estimate coil currents, followed by manual adjustments in direct mode for higher precision.

Note: NICE direct mode exhibits nondeterministic behavior. Repeated runs with identical settings do not always produce consistent results—starting from coil currents obtained via inverse mode may sometimes converge to the expected shape, but in other cases may fail to converge.

@SBlokhuizen SBlokhuizen force-pushed the feature/nice-direct-mode branch from 3ed0290 to fe54943 Compare August 29, 2025 12:29
@SBlokhuizen SBlokhuizen marked this pull request as ready for review September 26, 2025 07:49
Copy link
Copy Markdown
Collaborator

@maarten-ic maarten-ic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Some small comments, see below:

@SBlokhuizen SBlokhuizen merged commit e8b953b into develop Sep 26, 2025
9 checks passed
@SBlokhuizen SBlokhuizen deleted the feature/nice-direct-mode branch September 26, 2025 13:42
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