Skip to content

Commit

Permalink
Update docs/tutorial/kymographs.rst
Browse files Browse the repository at this point in the history
Co-authored-by: Joep Vanlier <[email protected]>
  • Loading branch information
aafkevandenberg and JoepVanlier authored Jan 14, 2025
1 parent 73c2788 commit 6789e6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorial/kymographs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ If the background has to be subtracted, choose a region without binding events a
.. image:: figures/kymographs/background.png

Sum over the vertical axis (along the width of the binding event) to obtain the total photon counts over the selected regions.
Since every pixel has an average background signal of `background_mean`, we need to sum the background over the same region to obtain the total background.
Since every pixel has an average background signal of `background_mean`, we need to sum the background over the same region to obtain the total background::

summed_photon_counts = np.sum(selection_green, axis=0)
background_mean = np.mean(background.get_image(channel="green"))
Expand Down

0 comments on commit 6789e6a

Please sign in to comment.