Skip to content

Commit af84feb

Browse files
committed
equation format
1 parent a3ad309 commit af84feb

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

1_SpectroscopicTraceTutorial.ipynb

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -363,9 +363,11 @@
363363
"\n",
364364
"Note that we need to subtract off the background to avoid a bias toward the center, so we use the median of the whole image as our background estimate.\n",
365365
"\n",
366-
"(the first-order moment is the intensity-weighted mean position, \n",
367-
"$$m_1 = \\frac{\\Sigma_i x_i f(x_i)}{\\Sigma_i f(x_i)}$$\n",
368-
"where $x_i$ is the position and $f({x_i})$ is the intensity at that position. $f(x_i)$ must be zero in the signal-free region for $m_1$ to return an accurate estimate of the location of the peak)"
366+
"(The first-order moment is the intensity-weighted mean position, \n",
367+
"\n",
368+
"$m_1 = \\frac{\\Sigma_i x_i f(x_i)}{\\Sigma_i f(x_i)}$, \n",
369+
"\n",
370+
"where $x_i$ is the position and $f({x_i})$ is the intensity at that position. $f(x_i)$ must be zero in the signal-free region for $m_1$ to return an accurate estimate of the location of the peak.)"
369371
]
370372
},
371373
{

0 commit comments

Comments
 (0)