Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions docs/notebooks/process_svd.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@
"outputs": [],
"source": [
"from facemap import process\n",
"from glob import glob"
"from glob import glob\n",
"import numpy as np"
]
},
{
Expand Down Expand Up @@ -192,13 +193,15 @@
" video_files = glob(folder+\"/*.ext\") # replace .ext with one of ['*.mj2','*.mp4','*.mkv','*.avi','*.mpeg','*.mpg','*.asf']\n",
" process.run(video_files)\n",
" # if SVDs of ROIs is required, use 'save ROIs' from GUI and use the following command\n",
" process.run(video_files, proc=\"/path_to_saved_rois\")"
" proc = np.load(\"/path_to_saved_rois\").item()\n",
" proc[\"savepath\"] = None\n",
" process.run(video_files, proc=proc)"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
Expand All @@ -212,7 +215,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.13"
"version": "3.12.9"
}
},
"nbformat": 4,
Expand Down