Esempio n. 1
0
        wdir='M:/Vyzkum/AV/FGU/IntracranialElectrodes/iEEG-python')

# LFO BANDS ----------------
lfo_bands = [[2, 4], [4, 9]]
runfile('M:/Vyzkum/AV/FGU/IntracranialElectrodes/iEEG-python/lfo_collapse.py',
        wdir='M:/Vyzkum/AV/FGU/IntracranialElectrodes/iEEG-python')

###
power_onset_perhead_vr.plot_topo(picks=pick_perhead_hip,
                                 layout=box,
                                 baseline=(-2, -1))

# POWER OVER TIME --------
mnehelp.plot_power_time(
    [power_stop_perhead_vr_lfo, power_onset_perhead_vr_lfo],
    pick_perhead_hip,
    0,
    event_names=['stop', 'onset'],
    pick_names=pick_perhead_hip_names)
mnehelp.plot_power_time(
    [power_point_perhead_vr_ego_lfo, power_point_perhead_vr_allo_lfo],
    pick_perhead_hip,
    0,
    event_names=['ego', 'allo'],
    pick_names=pick_perhead_hip_names)
mnehelp.plot_power_time(
    [power_point_perhead_vr_ego, power_point_perhead_vr_allo],
    pick_perhead_hip,
    1,
    event_names=['ego', 'allo'],
    pick_names=pick_perhead_hip_names)
Esempio n. 2
0
box = mnehelp.custom_box_layout(pick_perhead_hip_names, 3)
plot_picks_hip = range(0, len(pick_perhead_hip))
power_onset_perhead_bva_lfo_bas.plot_topo(picks=pick_perhead_hip,
                                          baseline=(-2, -1),
                                          mode='logratio',
                                          layout=box)

significant_hip = list(pick_perhead_hip[i] for i in [0, 1, 2, 4])
significant_hip_names = list(pick_perhead_hip_names[i] for i in [0, 1, 2, 4])

significant_phg = list(pick_perhead_phg[i] for i in [0, 1, 3, 4])
significant_phg_names = list(pick_perhead_phg_names[i] for i in [0, 1, 3, 4])

mnehelp.plot_power_time(
    [power_stop_perhead_bva_lfo_bas, power_onset_perhead_bva_lfo_bas],
    significant_hip,
    0,
    event_names=['stop', 'onset'],
    pick_names=significant_hip_names)
mnehelp.plot_power_time(
    [power_stop_perhead_bva_lfo_bas, power_onset_perhead_bva_lfo_bas],
    significant_phg,
    0,
    event_names=['stop', 'onset'],
    pick_names=pick_perhead_phg_names)

mnehelp.plot_power_time_average(
    [power_stop_perhead_bva_lfo_bas, power_onset_perhead_bva_lfo_bas],
    significant_hip,
    0,
    event_names=['stop', 'onset'],
    channel_name=['Hippocampus'])