Skip to content

[essreduce, esssans] Allow int dtypes for frame_time coords and extend Loki LUT range#668

Merged
nvaytet merged 3 commits into
mainfrom
fix-loki-lut-and-rebin
Jul 22, 2026
Merged

[essreduce, esssans] Allow int dtypes for frame_time coords and extend Loki LUT range#668
nvaytet merged 3 commits into
mainfrom
fix-loki-lut-and-rebin

Conversation

@nvaytet

@nvaytet nvaytet commented Jul 22, 2026

Copy link
Copy Markdown
Member

Integration tests were failing because the frame_time coord of a histogram monitor was in int64 ns.
We perform a rebin internally which only handles float64 dtypes.

After fixing that, the computed wavelength were all NaN for monitor 0 because the table started at Ltotal=10m, but the monitor is around 6.8m.

(note that the test will fail again with NaN because all bin edges are 0 in the loki files.)

@nvaytet
nvaytet requested a review from jl-wynen July 22, 2026 12:41
@nvaytet nvaytet added essreduce Issues for essreduce. esssans Issues for esssans. labels Jul 22, 2026
@nvaytet
nvaytet added this pull request to the merge queue Jul 22, 2026
Merged via the queue into main with commit 7e7191c Jul 22, 2026
26 checks passed
@nvaytet
nvaytet deleted the fix-loki-lut-and-rebin branch July 22, 2026 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

essreduce Issues for essreduce. esssans Issues for esssans.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants