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:
Resizing/moving the selection
Drawing multiple selections
Selections of different shapes
Pinging @t20100 here as the masking features of silx can help in designing this.
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.