8000 Integrate preprocess scripts by ChristosT · Pull Request #1 · ChristosT/hexrd · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Integrate preprocess scripts #1

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

Open
wants to merge 26 commits into
base: master
Choose a base branch
from

Conversation

ChristosT
Copy link
Owner

No description provided.

donald e. boyce and others added 3 commits January 8, 2025 10:27
…), and cleans up working_dir config property
Signed-off-by: Brianna Major <brianna.major@taloid.khq.kitware.com>
Signed-off-by: Brianna Major <brianna.major@taloid.khq.kitware.com>
@ChristosT ChristosT force-pushed the integrate-preprocess-scripts branch 5 times, most recently from 993943a to d2af8df Compare January 9, 2025 23:40
psavery and others added 10 commits January 9, 2025 19:02
The functions that calculate these values should perform the checks
and return all ones.

This simplifies the higher-level math to allow us to take the product
anyways, regardless of the thickness.

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>
Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
The expression indicates that the parameter is computed, and thus should
not be allowed to vary.

This prevents an issue where, if the Y value of 'IMAGE-PLATE-4' for
TARDIS was allowed to vary using the old parameter flags, and TARDIS
engineering constraints are used such that the Y value of 'IMAGE-PLATE-4'
is computed, that we won't accidentally set that parameter to vary.

Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
Due to a bug where we were accidentally setting IP4-Y to vary, even
though it is supposed to be computed, we were actually not applying
engineering constraints in this test.

Since we weren't actually applying engineering constraints in the
testing before, just disable them for now. We can look into adding
them later.

Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
Take into account radius for calibration params
…t-templates

Add instrument templates for dynamic compression
@ChristosT ChristosT force-pushed the integrate-preprocess-scripts branch from d2af8df to 985a03d Compare January 16, 2025 18:08
@ChristosT ChristosT force-pushed the integrate-preprocess-scripts branch from 834ad77 to 57be82f Compare January 16, 2025 19:20
psavery and others added 9 commits January 21, 2025 10:20
ci: update actions/upload-artifact to v4
Using a list of tuples forces the dumper to add type annotations,
while using a list of list avoid this issue.
Eiger should accept only one file provided via absolute_path while Dexelas
series of files  constructed using command line arguments
The latter is not a subset of the former. A new class is introduced
Chess_Arguments that is a superset of both
Missing types found using
mypy hexrd/preprocess/  --follow-imports=skip --disallow-untyped-defs
mypy hexrd/cli/preprocess.py  --follow-imports=skip --disallow-untyped-defs

using mypy --version
mypy 1.14.1 (compiled: yes)
Arguments set to None in argument profiles will be treated as required
positional arguments.  This behavior matches the original scripts.
@ChristosT ChristosT force-pushed the integrate-preprocess-scripts branch from 57be82f to 274e1f8 Compare January 21, 2025 16:29
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.

3 participants
0