File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 100100)
101101
102102
103- _PARALLEL_SFREQ = 100.0
104- _PARALLEL_NSAMPLES = int (_PARALLEL_SFREQ )
105-
106-
107103def _make_parallel_raw (subject , * , seed = None ):
108104 """Generate a lightweight Raw instance for parallel-writing tests."""
109105 rng_seed = seed if seed is not None else sum (ord (ch ) for ch in subject )
110106 rng = np .random .default_rng (rng_seed )
111- info = mne .create_info (["MEG0113" ], _PARALLEL_SFREQ , ch_types = "mag" )
112- data = rng .standard_normal ((1 , _PARALLEL_NSAMPLES )) * 1e-12
107+ info = mne .create_info (["MEG0113" ], sfreq = 100.0 , ch_types = "mag" )
108+ data = rng .standard_normal ((1 , 100 )) * 1e-12
113109 raw = mne .io .RawArray (data , info )
114110 raw .set_meas_date (datetime (2020 , 1 , 1 , tzinfo = timezone .utc ))
115111 raw .info ["line_freq" ] = 60
You can’t perform that action at this time.
0 commit comments