Store images as `float` to reduce memory requirements
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Refactor
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- python
- Domain
- data, performance
Research direction
Start at get_corrected_data, where the image is loaded as double, and trace how the shoebox values are filled as float during integration. Check whether spot-finding reads the same loaded data, since the issue questions whether it needs the extra precision. Settle that question first, because the issue does not resolve it. Done means images are loaded as float with integration and spot-finding results unchanged in the existing tests.
Written by the indexing model from the issue text.
Description
A related point: we load the image in
get_corrected_dataasdouble, but only ever fill the shoeboxes asfloat. So we are getting no benefit of the extra precision in integration. Perhaps we should just load them asfloatto begin with. This could also be a significant memory saving. A double-precision EIGER 16M image is 145 MB, which adds up fast when you have multiple processes doing integration.Maybe spot-finding benefits from the extra precision even if integration doesn't (although that seems doubtful).
Originally posted by @dagewa in #3117
- Dominant language
- Python
- Stars
- 107
- Forks
- 61
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 12
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from dials/dials
-
Clear params.inputs in dials.indexPossibly taken @phyy-nx claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
dials/dials#3361 · 1 comment ·
Maintainers usually reply within 1 day
-
dials.generate_mask silently ignores masking options when given only mask filesPossibly taken @CAOShurong claimed this 5 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Maintainers usually reply within 1 day
-
dials.reindex reference.file= refuses a reference in the enantiomorphic space group, contrary to help textPossibly taken @spmeisburger claimed this 3 days ago. Open
Difficulty 3/5 1-2 days Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
search beam position failPossibly taken @mpks claimed this 3 days ago. Open
dials/dials#3352 · 2 comments · 1 assignee ·
Maintainers usually reply within 1 day
Similar issues
-
A JSON chat answer blocks the backend event loop for the whole RAG runPossibly taken @NopeCharon claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
The-OpenROAD-Project/ORAssistant#656 ·
Maintainers usually reply within 1 day
-
bug(operator): VolterraOperator built inside jax.jit with a concrete decay raises TracerBoolConversionErrorPossibly taken @jejjohnson claimed this today. Opentype:bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
jejjohnson/integrix#144 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
finos/ai-governance-framework#459 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
autowarefoundation/autoware_carla_scenario#2963 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day