Skip to content

Releases: ornlneutronimaging/NeutronImagingScripts

v1.6

12 Jun 20:22
bd6be80

Choose a tag to compare

First release since 1.2 (2020). Highlights of the 2026-06 modernization campaign:

  • NeuNorm dependency removed (#19): the auto gamma filter is replicated in-package and verified value-identical against NeuNorm 1.6.12; contract tests (#18) pin the numerics
  • Correctness fixes batch (#20) and the Timepix chip-geometry correction converted to a documented opt-in --chipcorrection / NeutronImaging[chipcorrection] (#13)
  • Packaging modernized to pyproject + hatchling + pixi, SPEC 0 floor (Python ≥3.12, CI on 3.12–3.14), Grype CVE gate (#21)
  • neutronimaging.cli console entry points (mcp_detector_correction, generate_config) with scripts/*.py kept as path-compatible wrappers for SNS/HFIR autoreduction (#22)
  • License settled as MIT (NDP standard), resolving the historical GPLv3/BSD/LGPLv2 metadata contradiction (#23); sdist slimmed to package-only (#24)

Install: pip install NeutronImaging==1.6

🤖 Generated with Claude Code

Example/test dataset v1 (IPTS-20267)

15 Jun 15:12
ee479a0

Choose a tag to compare

IPTS-20267 example/test dataset for NeutronImagingScripts, externalized from
the git tree (it was ~570 MB of plain git objects). Fetched on demand by
neutronimaging.datasets.example_data_dir() via pooch.

  • Asset: nis-test-data-v1.tar.gz (295 MB, 936 files: FITS/TIFF frames,
    shutter/spectra sidecars, and the ref_*.npz golden profiles)
  • sha256: afb44dbd9875705e271c5199de57f998325220c279b4aa97abdd7392bc7a4773
  • Unpacks to the original data/ layout (IPTS-20267/, OB_1_005_*, ...)

Built with COPYFILE_DISABLE=1 tar so no macOS AppleDouble (._*) sidecars
leak into the archive. Bump the tag and the hash in
neutronimaging/datasets.py together if the dataset ever changes (regenerate
goldens via scripts/regenerate_test_refs.py).

v1.3

19 Feb 17:52
4c3eee0

Choose a tag to compare

What's Changed

  • Added Timepix chip geometry correction to the detector correction pipeline (#10, refs #9)
  • Fixed wrong parameter name in chip geometry correction (#12, refs #11)

Full Changelog: v1.2...v1.3

Release of v1.2

29 Aug 19:50
213e1f4

Choose a tag to compare

Incremental changes for mcp detector correction.

What's Changed

  • Fixed work. this refs #4 by @JeanBilheux in #5
  • Copy _SummedImg.fits from raw folder to corrected folder when running the mcp_correction code by @walshmm in #6

New Contributors

Full Changelog: v1.1...v1.2