JMMC-OpenDev / oiexplorer

GNU General Public License v3.0
2 stars 1 forks source link

[feature] Basic filter implementation #11

Closed gmella closed 2 years ago

gmella commented 2 years ago

Is your feature request related to a problem? Please describe. Yes , I need to be able to filter my data as done in the command line interface.

Describe the solution you'd like I would like to be able to define a filter list in the GUI starting with a list of wavelength ranges. Exported data and plotted ones should correspond to the ones which would have been merged with the same wavelengh ranges using the OIFitsProcess in command line.

Additional context Further filters (date, baselines...) will be added in the following iterations.

Technical constraints The implementation must evaluate the reuse of the merger bitmask by the plotChartPanel code. 'Export to OIfits file' action should use in addition to the currently selected target the new filter inputs.

buthanoid commented 2 years ago

Draft proposal:

Notes:

buthanoid commented 2 years ago

About the replacement of Subset OIFitsFile by the SelectorResult, in SubsetDefinition. The following points remain to be treated:

bourgesl commented 2 years ago

I fixed all former subsetDefinition.OIFitsFile usages except OIFitsBrowser ... Merger has been updated to use SelectorResult's IndexMask