[med-svn] [python-mne] 226/353: FIX: bug in print output
Yaroslav Halchenko
debian at onerussian.com
Fri Nov 27 17:25:02 UTC 2015
This is an automated email from the git hooks/post-receive script.
yoh pushed a commit to tag 0.4
in repository python-mne.
commit 2e193c63437977d9b6c305719b3dbfa0bb989f72
Author: mluessi at nmr.mgh.harvard.edu <mluessi at nmr.mgh.harvard.edu>
Date: Mon Jun 25 05:06:52 2012 -0400
FIX: bug in print output
---
mne/time_frequency/psd.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mne/time_frequency/psd.py b/mne/time_frequency/psd.py
index efbd631..cc80874 100644
--- a/mne/time_frequency/psd.py
+++ b/mne/time_frequency/psd.py
@@ -59,7 +59,7 @@ def compute_raw_psd(raw, tmin=0, tmax=np.inf, picks=None,
NFFT = int(NFFT)
Fs = raw.info['sfreq']
- print "Effective window size : %s (s)" % (NFFT * Fs)
+ print "Effective window size : %0.3f (s)" % (NFFT / float(Fs))
parallel, my_psd, n_jobs = parallel_func(pl.psd, n_jobs, verbose=0)
fig = pl.figure()
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-mne.git
More information about the debian-med-commit
mailing list