Problem with computing PSD from OMEGA data

Hi everyone

I'm trying to reproduce the results of the paper: "Brainstorm Pipeline Analysis of Resting-State Data From the Open MEG Archive"
I encountered an error in one of the first steps. I didn't download the entire dataset but only the sub-0004, its related empty room recording, and Freesurfer folder along with the .json and .tsv files located in the main folder of the dataset. Importing the BIDS dataset has been successfully done but in the preprocessing stage after converting the data into time-continuous format, when I want to compute the PSD of the raw data, Brainstorm gives me this error:

[process_psd] Frequency > Power spectrum density (Welch)

Line 110: in_fread_ctf (line 110)

CTF> ERROR: 2043 time samples were read instead of 2400.

It has been stated in the paper that the dataset downloaded from a web browser did not work well. Do you think the error occurred due to a similar problem? because I've downloaded the files using the browser. Or probably I'm doing something wrong in the analysis.

I'm using the Brainstorm 190415.

Best

Pedram

It looks like the file containing the MEG recordings was truncated, maybe it didn't finish downloading properly.
Please try downloading the dataset again (or only the sub-000*_ses-000*_task-rest_run-01_meg.meg4 file, if it looks like everything else is there).

Thank you for your reply.

You are right, it seems the problem is with the sub-000*_ses-000*_task-rest_run-01_meg.meg4 file. Every time I'm downloading this file, the file size is slightly different. I'm still unable to download the complete file.

Try with the AWS command-line tools, it works much better...
https://neuroimage.usc.edu/brainstorm/Tutorials/RestingOmega#Download_and_installation

Thank you. I will give it a try.