FLINT: Flint improvements
I will try to manage here a global view of what have to be done in Flint.
A kind of never ending issue.
Please do not update this page
- Except to update priorities
- Except for typos
- Except you also inform me
The point is i have to be aware of the content of this page. And the tool do not allow us to review the changes.
But feel free to add a comments.
Legend
- Feedback
-
👿 🤔 🤩 A single feedback -
👷 BCU people feedback -
🐣 From me
-
- Resource to solve
-
🔹 Easy (few minutes) -
🔶 Normal (few hours) -
🔴 Hard (needs time, or interaction, or features, or beamline commissioning, or still things to evaluate) -
💠 I don't know (i don't know yet what to do, or i do not handle it)
-
- Priority
-
🍺 : High -
🍒 : Normal -
🍆 : Low
-
Silx
-
💠 👿 Copy to clipboard is pixelized in LibreOffice Debian 8 when using matplotlib (not with the OpenGl backend) -
🔶 🤔 🤔 Axes labels should use scientific notation (30000 → 3x10^10) (silx)
Main work
Code quality
-
Some more module documentation -
Review FIXME:
-
Review warnings/errors pylint/mypy -
Make model closer to bliss (Rename Channel/Device attributes name
->fullName
,baseName
->name
) -
Application argument to setup logging config
Live plots
-
Avoid to redraw when a plot is not visible
Tree of items
Each kind of plots have it own base code to manage the tree. Then this can work for one but not for another.
-
🍺 Allow to display only one item (usingshift
shortcut) See #1318 (closed) -
Display column with nb points
Curve live plot
-
Create a custom single widget to select y-axis (to avoid too much radio) - The proto uses a very basic cache. It have to be replaced by the one from the specifications
-
Silx fit have to be integrated as a plot item -
🔶 🤩🤩 More fits, step up, step down, box (slit) -
👷 A created curve should not use another color -
👷 Global style with point for all the curves/only selected one/big/small points -
👷 Magnification is not always working -
👷 Markers on selected curves are too big -
👷 Markers on selected curves are too small -
👷 Markers on selected curves use too much the same color as the curve -
Maybe use an auto marker according to the amout of points and how close they are: |
,o
,O
Image live plot
-
Provide image statistics a-la Oxidis -
We could add somehow silx tool to compare images (with the previous image)
Scatter live plot
-
🤩 Make selectscatter
work -
🍆 Add the raw data viewer -
🍆 Update the style dialog with a shared dock to custom item styles (only for scatters right now)
MCA live plot
-
Use curve instead of histogram - Pro: Histogram is not selectable (silx issue)
- Pro: With many, histograms is maybe not the better way to display data (all the vertical lines are displayed at the same place, which is difficult to read)
- Pro: There is no statistics based on silx stat view
- Con: A MCA is a set of countable channels (like a 1d image), an histogram is a better way to expose the raw data
- Con: I would like clear separation between raw MCA data (histo) and spectrum in energy (curve)
Image access
-
The frame from video lima is can't be used -
The sequence of event received is not filtered by Bliss, but are the direct events from Lima
Custom plots
-
🔴 🤔 Stat of the custom plots are not saved (which is already done for live plots)