src.study.study_plots package¶
Submodules¶
src.study.study_plots.study_plots_controller module¶
Study Plots Controller
-
class
src.study.study_plots.study_plots_controller.
studyPlotsController
(study)[source]¶ Bases:
study.study_plots.study_plots_listener.studyPlotsListener
-
static
adapt_events
(all_file_data)[source]¶ Adapts the events on all the epochs so that they are all common and the epochs can thus be concatenated. :param all_file_data: The epochs on which the events must be adapted. :type all_file_data: list of MNE Epochs :return: The new epochs with the events adapted for concatenation :rtype: list of MNE Epochs
Close the window.
Close the window and send the information to the main controller
-
plot_erp_image_clicked
(channels_selected, subjects_selected)[source]¶ Call the study to plot the erp image on the given data. :param channels_selected: Channels selected :type channels_selected: str/list of str :param subjects_selected: Subjects selected :type subjects_selected: str/list of str
-
plot_erps_clicked
(channels_selected, subjects_selected)[source]¶ Call the study to plot the erps on the given data. :param channels_selected: Channels selected :type channels_selected: str/list of str :param subjects_selected: Subjects selected :type subjects_selected: str/list of str
-
plot_ersp_itc_clicked
(channels_selected, subjects_selected)[source]¶ Call the study to plot the ersp and itc on the given data. :param channels_selected: Channels selected :type channels_selected: str/list of str :param subjects_selected: Subjects selected :type subjects_selected: str/list of str
-
plot_psd_clicked
(channels_selected, subjects_selected)[source]¶ Call the study to plot the psd on the given data. :param channels_selected: Channels selected :type channels_selected: str/list of str :param subjects_selected: Subjects selected :type subjects_selected: str/list of str
-
plot_spectra_maps_computation_error
()[source]¶ Close the waiting window when the computation of the power spectral density is done on the dataset.
-
plot_spectra_maps_computation_finished
()[source]¶ Close the waiting window when the computation of the power spectral density is done on the dataset.
-
plot_spectra_maps_finished
()[source]¶ The computation of the power spectral density is completely done, plot it.
-
plot_spectra_maps_information
(minimum_frequency, maximum_frequency, minimum_time, maximum_time, topo_time_points)[source]¶ Create the waiting window while the computation of the power spectral density is done on the dataset. :param minimum_frequency: Minimum frequency from which the power spectral density will be computed. :type minimum_frequency: float :param maximum_frequency: Maximum frequency from which the power spectral density will be computed. :type maximum_frequency: float :param minimum_time: Minimum time of the epochs from which the power spectral density will be computed. :type minimum_time: float :param maximum_time: Maximum time of the epochs from which the power spectral density will be computed. :type maximum_time: float :param topo_time_points: The time points for the topomaps. :type topo_time_points: list of float
-
plot_time_frequency_computation_error
()[source]¶ Close the waiting window and display an error message because an error occurred during the computation.
-
plot_time_frequency_computation_finished
()[source]¶ Close the waiting window when the computation of the time-frequency analysis is done on the dataset.
-
plot_time_frequency_finished
()[source]¶ The computation of the time-frequency analysis is completely done, plot it.
-
plot_time_frequency_information
(method_tfr, min_frequency, max_frequency, n_cycles)[source]¶ Create the waiting window while the computation of the time-frequency analysis is done on the dataset. :param method_tfr: Method used for computing the time-frequency analysis. :type method_tfr: str :param min_frequency: Minimum frequency from which the time-frequency analysis will be computed. :type min_frequency: float :param max_frequency: Maximum frequency from which the time-frequency analysis will be computed. :type max_frequency: float :param n_cycles: Number of cycles used by the time-frequency analysis for his computation. :type n_cycles: int
-
static
src.study.study_plots.study_plots_listener module¶
Study Plots Listener
src.study.study_plots.study_plots_view module¶
Study Plots View
-
class
src.study.study_plots.study_plots_view.
studyPlotsView
(study)[source]¶ Bases:
PyQt5.QtWidgets.QWidget
-
cancel_study_trigger
()[source]¶ Send the information to the controller that the computation is cancelled.
-
confirm_study_trigger
()[source]¶ Retrieve all the additional information and send the information to the controller.
-
get_all_channels_selected
()[source]¶ Get the elements selected by the user. :return: Channels selected :rtype: str/list of str
-
get_all_subjects_selected
()[source]¶ Get the subjects selected by the user. :return: Subjects selected :rtype: str/list of str
-
plot_erp_image
(file_data, channel_selected)[source]¶ Plot the ERP image for the data provided by the study. :param file_data: The data containing the ERP image to plot :type file_data: MNE Epochs :param channel_selected: The channels selected. :type channel_selected: str
-
plot_erps
(evoked)[source]¶ Plot the ERPs for the evoked data provided by the study. :param evoked: The evoked data to plot :type evoked: MNE Evoked
-