Skip to content

Commit

Permalink
Add defaults for optical density plotting
Browse files Browse the repository at this point in the history
  • Loading branch information
rob-luke committed Oct 2, 2019
1 parent ebbd473 commit 65fce27
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions mne/defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,22 @@
ref_meg='steelblue', misc='k', stim='k', resp='k', chpi='k',
exci='k', ias='k', syst='k', seeg='saddlebrown', dipole='k',
gof='k', bio='k', ecog='k', hbo='darkblue', hbr='b',
fnirs_raw='k'),
fnirs_raw='k', fnirs_od='k'),
units=dict(mag='fT', grad='fT/cm', eeg='uV', eog='uV', ecg='uV', emg='uV',
misc='AU', seeg='mV', dipole='nAm', gof='GOF', bio='uV',
ecog='uV', hbo='uM', hbr='uM', ref_meg='fT', fnirs_raw='V'),
ecog='uV', hbo='uM', hbr='uM', ref_meg='fT', fnirs_raw='V',
fnirs_od='V'),
# scalings for the units
scalings=dict(mag=1e15, grad=1e13, eeg=1e6, eog=1e6, emg=1e6, ecg=1e6,
misc=1.0, seeg=1e3, dipole=1e9, gof=1.0, bio=1e6, ecog=1e6,
hbo=1e6, hbr=1e6, ref_meg=1e15, fnirs_raw=1),
hbo=1e6, hbr=1e6, ref_meg=1e15, fnirs_raw=1.0, fnirs_od=1.0),
# rough guess for a good plot
scalings_plot_raw=dict(mag=1e-12, grad=4e-11, eeg=20e-6, eog=150e-6,
ecg=5e-4, emg=1e-3, ref_meg=1e-12, misc='auto',
stim=1, resp=1, chpi=1e-4, exci=1, ias=1, syst=1,
seeg=1e-4, bio=1e-6, ecog=1e-4, hbo=10e-6,
hbr=10e-6, whitened=10., fnirs_raw=2e-2),
hbr=10e-6, whitened=10., fnirs_raw=2e-2,
fnirs_od=2e-2),
scalings_cov_rank=dict(mag=1e12, grad=1e11, eeg=1e5, # ~100x scalings
seeg=1e1, ecog=1e4, hbo=1e4, hbr=1e4),
ylim=dict(mag=(-600., 600.), grad=(-200., 200.), eeg=(-200., 200.),
Expand All @@ -35,7 +37,8 @@
ecg='ECG', emg='EMG', misc='misc', seeg='sEEG', bio='BIO',
dipole='Dipole', ecog='ECoG', hbo='Oxyhemoglobin',
ref_meg='Reference Magnetometers', fnirs_raw='fNIRS',
hbr='Deoxyhemoglobin', gof='Goodness of fit'),
fnirs_od='fNIRS', hbr='Deoxyhemoglobin',
gof='Goodness of fit'),
mask_params=dict(marker='o',
markerfacecolor='w',
markeredgecolor='k',
Expand Down

0 comments on commit 65fce27

Please sign in to comment.