{
  "id": 472993,
  "title": "EEG Spectrogram with MNE ",
  "url": "/competitions/hms-harmful-brain-activity-classification/discussion/472993",
  "author_name": "",
  "post_date": "2024-02-03T04:43:17.067754900Z",
  "votes": 3,
  "comment_count": 2,
  "views": 0,
  "content": "<p>Hi, kagglers! 😃</p>\n<p>In chris notebook, He make EEG Spectrogram with librosa, But I've heard MNE is specialized with EEG. </p>\n<p>So, i've been trying to make eeg spectrogram with mne. But i  I encounter a hurdle</p>\n<ul>\n<li><code>Librosa</code>: <strong>it can make spectrogram with signals(1d array)</strong></li>\n<li><code>MNE</code>: <strong>it can make spectrogram with signals(2d array)</strong> </li>\n</ul>\n<p>Is there any solution about this? </p>\n<ul>\n<li>just reshape(-1,1) or add new axis? 😅</li>\n</ul>",
  "messages": [
    {
      "id": "2633440",
      "postDate": "02/03/2024 04:43:17",
      "content": "<p>Hi, kagglers! 😃</p>\n<p>In chris notebook, He make EEG Spectrogram with librosa, But I've heard MNE is specialized with EEG. </p>\n<p>So, i've been trying to make eeg spectrogram with mne. But i  I encounter a hurdle</p>\n<ul>\n<li><code>Librosa</code>: <strong>it can make spectrogram with signals(1d array)</strong></li>\n<li><code>MNE</code>: <strong>it can make spectrogram with signals(2d array)</strong> </li>\n</ul>\n<p>Is there any solution about this? </p>\n<ul>\n<li>just reshape(-1,1) or add new axis? 😅</li>\n</ul>",
      "rawMarkdown": "Hi, kagglers! 😃\n\nIn chris notebook, He make EEG Spectrogram with librosa, But I've heard MNE is specialized with EEG. \n\nSo, i've been trying to make eeg spectrogram with mne. But i  I encounter a hurdle\n\n- `Librosa`: **it can make spectrogram with signals(1d array)**\n- `MNE`: **it can make spectrogram with signals(2d array)** \n\nIs there any solution about this? \n- just reshape(-1,1) or add new axis? 😅",
      "votes": null
    },
    {
      "id": "2635599",
      "postDate": "02/04/2024 13:55:04",
      "content": "<p>You don't need to worry about the dimensions of arrays. You can turn the pandas dataframe into raw data to make the spectrograms. <a href=\"https://mne.tools/stable/auto_tutorials/time-freq/20_sensors_time_frequency.html\" target=\"_blank\">This page</a> has what you need. If you don't know how to deal with raws and epochs, the MNE documentation has tons of information about them.</p>\n<p>If you have more questions, please do not hesitate to ask 🙂 .</p>",
      "rawMarkdown": "You don't need to worry about the dimensions of arrays. You can turn the pandas dataframe into raw data to make the spectrograms. [This page](https://mne.tools/stable/auto_tutorials/time-freq/20_sensors_time_frequency.html) has what you need. If you don't know how to deal with raws and epochs, the MNE documentation has tons of information about them.\n\nIf you have more questions, please do not hesitate to ask 🙂 .",
      "votes": null
    },
    {
      "id": "2636433",
      "postDate": "02/05/2024 04:56:22",
      "content": "<p>Yep, i've read MNE Documentation, and it seems like that i can make it!, if i have a question, i'll contact to you<br>\nThanks for telling MNE Documentation!!</p>",
      "rawMarkdown": "Yep, i've read MNE Documentation, and it seems like that i can make it!, if i have a question, i'll contact to you\nThanks for telling MNE Documentation!!",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 2635599,
      "author_name": "yunusselimaytekin",
      "author_url": "",
      "post_date": "02/04/2024 13:55:04",
      "content": "<p>You don't need to worry about the dimensions of arrays. You can turn the pandas dataframe into raw data to make the spectrograms. <a href=\"https://mne.tools/stable/auto_tutorials/time-freq/20_sensors_time_frequency.html\" target=\"_blank\">This page</a> has what you need. If you don't know how to deal with raws and epochs, the MNE documentation has tons of information about them.</p>\n<p>If you have more questions, please do not hesitate to ask 🙂 .</p>",
      "votes": null,
      "replies": [
        {
          "id": 2636433,
          "author_name": "seoyunje",
          "author_url": "",
          "post_date": "02/05/2024 04:56:22",
          "content": "<p>Yep, i've read MNE Documentation, and it seems like that i can make it!, if i have a question, i'll contact to you<br>\nThanks for telling MNE Documentation!!</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "2633440": "Hi, kagglers! 😃\n\nIn chris notebook, He make EEG Spectrogram with librosa, But I've heard MNE is specialized with EEG. \n\nSo, i've been trying to make eeg spectrogram with mne. But i  I encounter a hurdle\n\n- `Librosa`: **it can make spectrogram with signals(1d array)**\n- `MNE`: **it can make spectrogram with signals(2d array)** \n\nIs there any solution about this? \n- just reshape(-1,1) or add new axis? 😅",
    "2635599": "You don't need to worry about the dimensions of arrays. You can turn the pandas dataframe into raw data to make the spectrograms. [This page](https://mne.tools/stable/auto_tutorials/time-freq/20_sensors_time_frequency.html) has what you need. If you don't know how to deal with raws and epochs, the MNE documentation has tons of information about them.\n\nIf you have more questions, please do not hesitate to ask 🙂 .",
    "2636433": "Yep, i've read MNE Documentation, and it seems like that i can make it!, if i have a question, i'll contact to you\nThanks for telling MNE Documentation!!"
  },
  "source": "meta"
}