Skip to content

Commit

Permalink
updated discussion of dff
Browse files Browse the repository at this point in the history
  • Loading branch information
EricThomson committed Jan 22, 2024
1 parent 70835d7 commit 6a1a813
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions demos/notebooks/demo_pipeline.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1210,9 +1210,9 @@
"\\Delta F/F = (F(t)-F_0)/F_0\n",
"$$\n",
"\n",
"Traditionally, the baseline value was calculated during some initial period of queiscience (e.g., in the visual system, when the animal was sitting in the dark). But because it is problematic to make any assumptions about a \"quiet\" baseline period, researchers have started to use a moving percentile for $F_0$, which is what Caiman does.\n",
"Traditionally, the baseline value was calculated during some initial period of queiscience (e.g., in the visual system, when the animal was sitting in the dark). However, it is problematic to make any assumptions about a \"quiet\" baseline period, so researchers have started to use a moving percentile for $F_0$. This is also what Caiman does.\n",
"\n",
"More specifically, Caiman the baseline is a running percentile calculated over a `frames_window` moving window. You can calculate $\\Delta F/F$ using raw traces or the denoised traces in C (this is toggled using the `use_residuals` argument):"
"More specifically, in Caiman the baseline is a running percentile calculated over a `frames_window` moving window. You can calculate $\\Delta F/F$ using raw traces or the denoised traces in C (this is toggled using the `use_residuals` argument):"
]
},
{
Expand All @@ -1234,7 +1234,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"The `estimates` object will now have a `F_dff` field, which makes it easier to compare traces across neurons/sessions. This value can be positive or negative because it is relative to a baseline value that is the \"zero\" value."
"The `estimates` object will now have a `F_dff` field, which makes it easier to compare traces across neurons/sessions because the data is normalized. Note that F_dff values can be positive or negative because it is relative to a baseline value that is the \"zero\" value."
]
},
{
Expand Down

0 comments on commit 6a1a813

Please sign in to comment.