silx-kit / h5web

React components for data visualization and exploration
https://h5web.panosc.eu/
MIT License
183 stars 18 forks source link

Add components to select/mask part of the data #862

Open loichuder opened 2 years ago

loichuder commented 2 years ago

Not needed for the viewer but useful for other apps that use @h5web/lib as a data visualization lib.

A starting point could be offering the possibility to the user to draw a selection on the data of rectangular shape. The selection should then be translated into a range of abscissas/ordinates (and/or into the corresponding data) to make further operations (e.g. removing the selection from domain computation).

More involved topics to be tackled later include:

Pinging @t20100 here as the masking features of silx can help in designing this.

loichuder commented 2 years ago

Selection components are demonstrated in https://h5web-docs.panosc.eu/?path=/story/building-blocks-selection