silx icon indicating copy to clipboard operation
silx copied to clipboard

Display multiple profiles inside the same window

Open vallsv opened this issue 2 years ago • 0 comments

I have this feature to provide in Flint https://gitlab.esrf.fr/bliss/bliss/-/issues/3399

Sounds like it is not really easy to do with the actual silx API.

  • Because the manager does not import the window then a ROI is removed
  • Because the profile window was designed for a single profile

To make it possible mostly the ProfileWindow have to be refactored

  • A removeRoi have to be added
  • The roi have to be passed everytime a related data is updated
    • setProfile(data) -> setProfile(roi, data)

It's not a big deal but it will break thinks.

Optionally we could imagine a ProfileWindow2 with another API.

vallsv avatar Jul 28 '23 06:07 vallsv