Draft: Create a standard edit_mask function
This MR provides a standard edit_mask
function to allow to setup lima.processing.mask_file
with Flint.
For now it is only a feasibility test.
Few questions have to be solved.
- Technical
- How to deal with window detector (as the file have to be reachable from windows too)
- What to do with corrupted files
- User use case
- How to deal with masks in BLISS?
- Is it useful?
- Where to save the mask if none is yet set?
- Do we overwrite the current mask file?
- How to remove the used mask?
- How to reuse a previous mask?
I think there is many questions relative to the way scientists work, and answers could not be the same.
So I feel like a single command is not really convenient.
But it could be part of a more general dialog to setup a Lima detector, so what it could be easier to adapted the answer. The MR !2816 (merged) could be an interesting entry point.