Skip to content

merge: pydantic refactor & CHAP.saxswaxs#231

Merged
keara-soloway merged 102 commits intosaxswaxsfrom
dev
Feb 11, 2026
Merged

merge: pydantic refactor & CHAP.saxswaxs#231
keara-soloway merged 102 commits intosaxswaxsfrom
dev

Conversation

@keara-soloway
Copy link
Collaborator

No description provided.

rolfverberg and others added 30 commits June 3, 2025 12:26
With so far only illustrating the use of common.ImageProcessor
This reverts commit 47b4d75.
- Added CHAP.pipeline.PipelineItem.validate(), which validates
the pipeline, similar to how execute() executes it.
- Created CHAP.common.reader.ConfigReader, which reads and verifies
a config file in yaml formet
- Make inputdir, outputdit, interactive and schema attributes of a
PipelineItem object. This mostly avoids needing to specify them
paramaters to reader, processors, or writers.
Also updated the test cases to run tests with the latest Tomo code
Finished most of the readers/writers
Todo:
CHAP.common.reader.NXdataReader
CHAP.common.reader.NXfieldReader
CHAP.common.reader.URLReader
The FOXDEN readers with config parameters
The FOXDEN writers with url parameter
rolfverberg and others added 29 commits January 12, 2026 18:49
docs: fixed "make html" error in Sphinx autodoc
build: update EDD environment to prep testing EDD after code updates
update to newest packages for python 3.10
doc: made fixes to issues found during deployment
Only defined in NXentry or NXroot in the current Nexusformat definition
Done to mimic the behavior of rel_height_cutoff, but only for the
scipy find_peaks part that pick the peaks to fit for each detector
based on their height relative to the average for that detector
The default NXdata object for each detector now also has the stdevs
in the unconstrained strains obtained from the peak positions relative
to their nominal values from the Bragg relation for the HKLs included
in the fits
Showed only up for a single data point in the map
fix: bug in EDD strain mean data calculation
Fixed MapProcessor and EDD when all independent dims in the map are constant
Also update vrange in common.models.map.ImageProcessorConfig
to allow users to set only the lower or upper bound

(cherry picked from commit c9b4d74)
As needed to get this info, a best_vary property was added to
CHAP.utils.fit.Fit and CHAP.utils.fit.FitMap which returns the
`vary` parameter for the best fit parameters.
The default NXdata object for each detector now also has the stdevs
in the unconstrained strains obtained from the peak positions relative
to their nominal values from the Bragg relation for the HKLs included
in the fits

(cherry picked from commit b0013ae)
For now set the fit to be performed using lmfit
fix: rel_height_cutoff>0 in EDD strain analysis not working with scipy
@keara-soloway keara-soloway merged commit 19aade6 into saxswaxs Feb 11, 2026
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