# Question about epochs.apply\_baseline

**URL:** <https://mne.discourse.group/t/question-about-epochs-apply-baseline/1978>\
**Category:** Mailing List Archive (read-only)\
**Tags:** list-archive\
**Created:** [October 14, 2019, 12:31pm UTC](https://mne.discourse.group/t/question-about-epochs-apply-baseline/1978 "2019-10-14T12:31:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [October 14, 2019, 12:31pm UTC](https://mne.discourse.group/t/question-about-epochs-apply-baseline/1978/1 "2019-10-14T12:31:23Z")

</div>

External Email - Use Caution

Hi all,  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;I used the command "epochs.apply\_baseline(None,0)" to do baseline  
correction, But after running this command, I found that epochs information  
still shows baseline off. I do not know why. It seems that data have been  
changed, but why it still baseline off? Attached is my screenshot for this  
question.  
[image: image.png]  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Thank you very much  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Yours sincerely

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tao Xia  
-------------- next part --------------  
An HTML attachment was scrubbed...  
URL: [http://mail.nmr.mgh.harvard.edu/pipermail/mne\_analysis/attachments/20191014/067ed23a/attachment-0001.html](http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20191014/067ed23a/attachment-0001.html)  
-------------- next part --------------  
A non-text attachment was scrubbed...  
Name: image.png  
Type: image/png  
Size: 23215 bytes  
Desc: not available  
Url : [http://mail.nmr.mgh.harvard.edu/pipermail/mne\_analysis/attachments/20191014/067ed23a/attachment-0001.png](http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20191014/067ed23a/attachment-0001.png)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [October 14, 2019, 1:15pm UTC](https://mne.discourse.group/t/question-about-epochs-apply-baseline/1978/2 "2019-10-14T13:15:59Z")

</div>

External Email - Use Caution

You need to do `apply_baseline((None, 0))` or  
`apply_baseline(baseline=(None, 0))`as the first argument to this function  
is the baseline to use.

Eric

> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;External Email - Use Caution
> 
> Hi all,  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;I used the command "epochs.apply\_baseline(None,0)" to do baseline  
> correction, But after running this command, I found that epochs information  
> still shows baseline off. I do not know why. It seems that data have been  
> changed, but why it still baseline off? Attached is my screenshot for this  
> question.  
> [image: image.png]  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Thank you very much  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Yours sincerely
> 
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tao Xia  
> \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> Mne\_analysis mailing list  
> Mne\_analysis at nmr.mgh.harvard.edu  
> [Mne\_analysis Info Page](https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis)

-------------- next part --------------  
An HTML attachment was scrubbed...  
URL: [http://mail.nmr.mgh.harvard.edu/pipermail/mne\_analysis/attachments/20191014/06c5bd82/attachment-0001.html](http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20191014/06c5bd82/attachment-0001.html)  
-------------- next part --------------  
A non-text attachment was scrubbed...  
Name: image.png  
Type: image/png  
Size: 23215 bytes  
Desc: not available  
Url : [http://mail.nmr.mgh.harvard.edu/pipermail/mne\_analysis/attachments/20191014/06c5bd82/attachment-0001.png](http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20191014/06c5bd82/attachment-0001.png)
