scipp / scipp/ess

Check denominator computation performance

Open
#357 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

esssans
Dominant language
Python
Stars
1
Forks
3
Avg merge
2d 11h
Merged PRs (30d)
17

Description

Computing a denominator in the loki direct beam workflow uses a lot of memory.
Probably because of the 500_000 pixels * 200 wavelength bins, plus the 50 wavelength bands.

We should however revisit, to see if we are doing something wrong (or in the wrong order).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Loki direct beam workflow and the denominator computation. Measure memory use around the 500,000-pixel, 200-bin, and 50-band calculation, then inspect whether the operation order creates unnecessary intermediate data. Done means the computation uses substantially less memory while preserving its results.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.