diff --git a/demos/notebooks/demo_motion_correction.ipynb b/demos/notebooks/demo_motion_correction.ipynb index 84cec1967..d3c6fcc81 100644 --- a/demos/notebooks/demo_motion_correction.ipynb +++ b/demos/notebooks/demo_motion_correction.ipynb @@ -156,7 +156,7 @@ "source": [ "
The original file exhibits a lot of motion. In order to correct for it we are first trying a simple rigid motion correction algorithm. This has already been selected by setting the parameter `pw_rigid=False` during the construction of the `MotionCorrect` object. The algorithm first creates a template by averaging frames from the video. It then tries to match each frame to this template. In addition the template will get updated during the matching process, resulting in a single precise template that is used for subpixel registration.
\n", - "The function correlation_pnr() applies this mean-centered Gaussian to each frame of the motion corrected movie and returns the correlation image of that movie, as well as the peak-to-noise-ratio (PNR). The correlation image is the correlation of each pixel with its neighbors. The PNR is the ratio of the maximum magnitude at a pixel to the noise value at that pixel (it is a fast and rough measure of signal-to-noise). As mentioned above, both of these values tend to be higher in pixels that contain neurons. The CNMFE initialization procedure is to set a threshold for both quantities, take their product, and use the peaks in this product map to find seed pixels for initialization of the CNMFE source separation algorithm.
\n", diff --git a/docs/img/bokeh_menu.jpg b/demos/notebooks/images/bokeh_menu.jpg similarity index 100% rename from docs/img/bokeh_menu.jpg rename to demos/notebooks/images/bokeh_menu.jpg diff --git a/docs/img/cnmf_patches.jpg b/demos/notebooks/images/cnmf_patches.jpg similarity index 100% rename from docs/img/cnmf_patches.jpg rename to demos/notebooks/images/cnmf_patches.jpg diff --git a/docs/img/mn_centered_gaussian.jpg b/demos/notebooks/images/mn_centered_gaussian.jpg similarity index 100% rename from docs/img/mn_centered_gaussian.jpg rename to demos/notebooks/images/mn_centered_gaussian.jpg diff --git a/docs/img/rigidcorrection.png b/demos/notebooks/images/rigidcorrection.png similarity index 100% rename from docs/img/rigidcorrection.png rename to demos/notebooks/images/rigidcorrection.png