-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolves #860 - Generalizes `FixParameter` to work for an `OptimizableCollection` so collections (like coil sets) can be constrained in optimizations. - Replaces inheritance from `_FixedObjective` and `_FixProfile` to inherit from `FixParameter` instead for many of the linear objectives, to reduce redundant code. - Other miscellaneous changes to make coil optimization work, like adding `FixCurveShift` and `FixCurveRotation` to `maybe_add_self_consistency` To-Do: - [x] Replace `_FixedObjective` and `_FixProfile` with `FixParameter` - [x] Make sure tests pass - [x] Add test to check order of residuals with specified modes input
- Loading branch information
Showing
17 changed files
with
888 additions
and
1,442 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.