Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various fixes and improvements #1775

Merged
merged 15 commits into from
Jan 13, 2025
Merged

Various fixes and improvements #1775

merged 15 commits into from
Jan 13, 2025

Conversation

psavery
Copy link
Collaborator

@psavery psavery commented Jan 10, 2025

No description provided.

psavery added 15 commits January 9, 2025 19:23
The old `rectangle` function is deprecated, and `footprint_rectangle`
is necessary.

Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
A sequence is now required in the newer versions of matplotlib...

Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
We should not keep the same calibration picks on the overlays if
the detectors are changed.

Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
If any required detectors are missing, we should not auto-set it.

Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
This follows the same pattern we used for the other setters.

Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
We were accidentally resetting the calibration parameters if the relative
constraints were set to None. Don't do that, and just make sure that the
instrument constraints are reset...

Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
We'll need to add this to the structureless calibration too soon...

Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
This is needed to work properly with `update_physics_package()`

Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
For cylindrical detectors, we need to take into account the radius for calibration flags and parameters.

This uses the old, non-lmfit style for defining calibration flags and parameters. We will be able to eliminate all of this when we upgrade the HEDM calibration to use the new lmfit calibration style...

But for now, we need to maintain this.

Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
Disable the value and the checkbox for the Y value of IP4 when TARDIS
engineering constraints are applied. We cannot vary or modify the
value of an lmfit parameter whose value is computed via an expression in
lmfit.

Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
If "Show picks from all x-ray sources" is not checked, picks for
the non-selected x-ray source are now grayed out and not editable.
This is much better than before, where an error would simply occur
if users tried to edit non-selected x-ray source picks (or worse,
in structureless calibration, the point would be added inadvertently
to the wrong source).

Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
@psavery psavery merged commit ea32110 into master Jan 13, 2025
9 checks passed
@psavery psavery deleted the various-fixes branch January 13, 2025 19:07
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