You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Propagate higher-order distortion model (p7-p10) across FF_HEDM suite
This commit fully propagates the dipole (`p7`, `p8`) and trefoil (`p9`,
`p10`) radial distortion parameters across the remaining elements of the
MIDAS FF_HEDM optimization suite and forward simulation modules.
The goal is to seamlessly introduce higher-order spatial harmonic
corrections to the detector transform mathematically without breaking layer
compatibility with older runs. It resolves the full 17-parameter
geometric distortion state natively.
Key structural changes include:
- `PeaksFittingOMPZarrRefactor.c`: Added Zarr parsing for p7-p10 keys and
extended the internal `DistortFunc` to inject the dipole and trefoil vectors.
- `FitMultipleGrains.c`: Expanded global variable `OptP` arrays from 13 to
17 constraints, adjusted global index offsets, and safely updated
`CorrectTiltSpatialDistortion` signatures.
- `FitWedgeParallel.c` & `FitSetupParamsAllZarr.c`: Plumbed parameter block
reads from `ZarrReader`, passing `p7`–`p10` correctly through `YsZsCalc`
so that theoretical models conform to the non-linear detector field.
- `ForwardSimulationCompressed.c`: Overhauled the spatial projection
signatures inside `CorrectTiltSpatialDistortion` so forward-simulated
sinograms map to the higher-harmonics accurately.
- Deprecated `CalcPeakProfile.c`: This file was found to be entirely
obsolete to the active pipeline (only tied to legacy `.c` codes) and
has been moved to `src/archive/` to keep `FF_HEDM/src` clean.
References in `CMakeLists.txt` have been safely relinked to the archive.
# add_ff_hedm_executable(CalibrantOMP SOURCES src/CalibrantOMP.c src/CalcPeakProfile.c src/MIDAS_Math.c OMP) # Archived: CalibrantPanelShiftsOMP is the active superset
82
-
# add_ff_hedm_executable(CalibrantPanelShiftsOMP SOURCES src/CalibrantPanelShiftsOMP.c src/CalcPeakProfile.c src/DetectorGeometry.c src/Panel.c src/FileReader.c src/MIDAS_Math.c src/MIDAS_ParamParser.c OMP) # Archived: CalibrantIntegratorOMP is the active replacement
# add_ff_hedm_executable(CalibrantOMP SOURCES src/archive/CalibrantOMP.c src/archive/CalcPeakProfile.c src/MIDAS_Math.c OMP) # Archived: CalibrantPanelShiftsOMP is the active superset
82
+
# add_ff_hedm_executable(CalibrantPanelShiftsOMP SOURCES src/archive/CalibrantPanelShiftsOMP.c src/archive/CalcPeakProfile.c src/DetectorGeometry.c src/Panel.c src/FileReader.c src/MIDAS_Math.c src/MIDAS_ParamParser.c OMP) # Archived: CalibrantIntegratorOMP is the active replacement
0 commit comments