Skip to content

Commit 4fcc132

Browse files
upd spacing
1 parent 483ceca commit 4fcc132

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Python/02-GroupPSDs.ipynb

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@
487487
"cell_type": "markdown",
488488
"metadata": {},
489489
"source": [
490-
"Here, we define settings for two models to be fit and compared. A user could also use the `trim_spectrum` to define the frequency ranges for each model; see the [specparam website](https://fooof-tools.github.io/fooof/generated/fooof.utils.trim_spectrum.html#fooof.utils.trim_spectrum) for details on how to use this utility."
490+
"Here, we define settings for two models to be fit and compared. A user could also use the `trim_spectrum` to define the frequency ranges for each model; see the [specparam website](https://fooof-tools.github.io/fooof/generated/fooof.utils.trim_spectrum.html#fooof.utils.trim_spectrum) for details on using this utility."
491491
]
492492
},
493493
{
@@ -539,7 +539,7 @@
539539
" fm.fit(m1_freq, spectrum, m1_PSD_range)\n",
540540
" \n",
541541
" # Save out individual results for further consideration\n",
542-
" fm.save_report(file_name='EOP_' + str(index) + '_fm1_settings', file_path= output_path)"
542+
" fm.save_report(file_name='EOP_' + str(index) + '_fm1_settings', file_path=output_path)"
543543
]
544544
},
545545
{
@@ -644,7 +644,7 @@
644644
"source": [
645645
"# Plot distributions of goodness of fit parameters\n",
646646
"# This information is presented in the print_reports output as well\n",
647-
"fig, (ax0, ax1) = plt.subplots(1, 2, figsize=(14,6))\n",
647+
"fig, (ax0,ax1) = plt.subplots(1, 2, figsize=(14,6))\n",
648648
"\n",
649649
"ax0.hist(r2s)\n",
650650
"ax0.set_xlabel('Variance explained (R^2)', fontsize=20)\n",
@@ -884,6 +884,7 @@
884884
"metadata": {},
885885
"outputs": [],
886886
"source": [
887+
"# Save out periodic parameter results\n",
887888
"per = pd.DataFrame(per)\n",
888889
"per.columns = ['CF','PW','BW','index']\n",
889890
"\n",

0 commit comments

Comments
 (0)