Is your feature request related to a problem? Please describe.
Add a way to plot events in a generic way. Some way to provide a function that plots specific events in the ExpPanel. The plots of sig.test.plot and sig.test.timeplot are two such examples.
Describe the solution you'd like
Extend eui.SignalsExpPanel to one that takes a plot function as an input arg. This plot function can then plot the events. The expPanelFun would then be an anonymous function that calls the constructor with some inputs. This could also be done with a config function but not that ExpPanel follows the factory pattern.
Describe alternatives you've considered
The other solution is to better guide users to write their own ExpPanel subclasses. This is much simpler now the code has been refactored.
Additional context
We had a meeting and people requested this.
Is your feature request related to a problem? Please describe. Add a way to plot events in a generic way. Some way to provide a function that plots specific events in the ExpPanel. The plots of sig.test.plot and sig.test.timeplot are two such examples.
Describe the solution you'd like Extend
eui.SignalsExpPanel
to one that takes a plot function as an input arg. This plot function can then plot the events. The expPanelFun would then be an anonymous function that calls the constructor with some inputs. This could also be done with a config function but not that ExpPanel follows the factory pattern.Describe alternatives you've considered The other solution is to better guide users to write their own ExpPanel subclasses. This is much simpler now the code has been refactored.
Additional context We had a meeting and people requested this.