Skip to content

Commit

Permalink
Docs: change instructions to use jupyter notebook to instead suggest …
Browse files Browse the repository at this point in the history
…jupyter lab
  • Loading branch information
pgunn committed Aug 8, 2024
1 parent 69f7856 commit cd61a86
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Create a working directory called `caiman_data` that includes code samples and r
Go into the working directory you created in Step 2, and open a Jupyter notebook:

cd <your home>/caiman_data/
jupyter notebook
jupyter lab

Jupyter will open. Navigate to demos/notebooks/ and click on `demo_pipeline.ipynb` to get started with a demo.

Expand Down
2 changes: 1 addition & 1 deletion demos/notebooks/demo_OnACID_mesoscope.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@
"Now inspect the components extracted by OnACID. Note that if single pass was used then several components would be non-zero only for the part of the time interval indicating that they were detected online by OnACID.\n",
"\n",
"Note that if you get data rate error you can start Jupyter notebooks using:\n",
"'jupyter notebook --NotebookApp.iopub_data_rate_limit=1.0e10'"
"'jupyter lab --ZMQChannelsWebsocketConnection.iopub_data_rate_limit=1.0e10'"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion demos/notebooks/demo_Ring_CNN.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@
"Now inspect the components extracted by OnACID. Note that if single pass was used then several components would be non-zero only for the part of the time interval indicating that they were detected online by OnACID.\n",
"\n",
"Note that if you get data rate error you can start Jupyter notebooks using:\n",
"'jupyter notebook --NotebookApp.iopub_data_rate_limit=1.0e10'"
"'jupyter lab --ZMQChannelsWebsocketConnection.iopub_data_rate_limit=1.0e10'"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion demos/notebooks/demo_pipeline.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -842,7 +842,7 @@
"Note this is just an initial result, which will contain many false positives, which is to be expected. The main concern to watch for here is whether you have lots of false *negatives* (has the algorithm missed neurons?). False negatives are hard to fix later, so if you have an unacceptable number, be sure to go back and re-run CNMF with new parameters.\n",
"\n",
"> If you get a data rate error with any notebook plotting commmands, can start your notebook using \n",
"`jupyter notebook --NotebookApp.iopub_data_rate_limit=1.0e10`"
"`jupyter lab --ZMQChannelsWebsocketConnection.iopub_data_rate_limit=1.0e10`"
]
},
{
Expand Down
7 changes: 3 additions & 4 deletions docs/source/Getting_Started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,10 @@ Demos

.. code:: bash
jupyter notebook --NotebookApp.iopub_data_rate_limit=1.0e10
jupyter lab --ZMQChannelsWebsocketConnection.iopub_data_rate_limit=1.0e10
and select the notebook from within Jupyter’s browser. The argument
``--NotebookApp.iopub_data_rate_limit=1.0e10`` will prevent any
memory issues while plotting on a notebook.
and select the notebook from within Jupyter’s browser. The argument provided
will prevent any output from being lost while using a notebook

- demo files are also found in the demos/general subfolder. We suggest
trying demo_pipeline.py first as it contains most of the tasks
Expand Down

0 comments on commit cd61a86

Please sign in to comment.