osl_ephys.utils.spmio.spmmeeg ============================= .. py:module:: osl_ephys.utils.spmio.spmmeeg .. autoapi-nested-parse:: Classes for loading SPM files. Classes ------- .. autoapisummary:: osl_ephys.utils.spmio.spmmeeg.SPMMEEG osl_ephys.utils.spmio.spmmeeg.TrialParameters Functions --------- .. autoapisummary:: osl_ephys.utils.spmio.spmmeeg._get_trial_trigger_value Module Contents --------------- .. py:class:: SPMMEEG(filename) .. py:attribute:: filename .. py:attribute:: _D .. py:attribute:: type .. py:attribute:: nsamples .. py:attribute:: nchannels .. py:attribute:: fsample .. py:attribute:: time_onset .. py:attribute:: channels .. py:attribute:: data .. py:attribute:: fname .. py:attribute:: fullpath .. py:attribute:: path .. py:attribute:: sensors .. py:attribute:: fiducials .. py:attribute:: transform .. py:attribute:: condlist .. py:attribute:: history .. py:attribute:: other .. py:attribute:: ntrials .. py:attribute:: montage .. py:attribute:: current_montage .. py:attribute:: time .. py:attribute:: index .. py:attribute:: good_index .. py:attribute:: trial_definition :value: None .. py:method:: get_data(montage=None) Return memorymapped data and optionally apply a montage. .. py:method:: epoch_data(data) .. py:method:: define_trial(event_type, pre_stim, post_stim) .. py:method:: mark_artefacts_as_bad() .. py:method:: _channel_property(property_) .. py:method:: full_index(channel_type) .. py:method:: reindex_good_samples() .. py:method:: reindex_event_samples() .. py:method:: print_info() .. py:method:: _find_dat_file() .. py:property:: size .. py:property:: chantype .. py:method:: indchantype(channel_type) .. py:method:: indsample(t) .. py:method:: indtrial(cond) .. py:property:: n_good_samples .. py:function:: _get_trial_trigger_value(t) Return value of first STI event in trial. .. py:class:: TrialParameters .. py:attribute:: event_type :type: str .. py:attribute:: pre_stim :type: float .. py:attribute:: post_stim :type: float