from bci_framework.extensions.timelock_analysis import TimelockDashboard
from bci_framework.extensions.timelock_analysis import timelock_analysis as ta
import numpy as np


########################################################################
class Analysis(TimelockDashboard):
    """"""

    # ----------------------------------------------------------------------
    def __init__(self, *args, **kwargs):
        """Constructor"""
        super().__init__(*args, **kwargs)

        self.columns = 1

        self.add_widgets(
            ta.LoadDatabase,
            ta.Filters,
            ta.AddMarkers,
            ta.AmplitudeAnalysis,
            ta.EpochsVisualization,
        )


if __name__ == '__main__':
    Analysis()


