Skip to content

Commit

Permalink
Update docs/tutorial/kymographs.rst
Browse files Browse the repository at this point in the history
I like that suggestion. Then the contribution of background to the signal is more visible. The user can always subtract it later.

Co-authored-by: Joep Vanlier <[email protected]>
  • Loading branch information
aafkevandenberg and JoepVanlier authored Jan 31, 2025
1 parent deb4f43 commit bfd0a81
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/tutorial/kymographs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,8 @@ Since every pixel has an average background signal of `background_mean`, we need
time = np.arange(len(summed_photon_counts)) * kymo.line_time_seconds

plt.figure()
plt.plot(time, summed_photon_counts - summed_background)
plt.plot(time, summed_photon_counts)
plt.axhline(summed_background, color='k', linestyle='--')
plt.xlabel("time (s)")
plt.ylabel("Signal Intensity")
plt.title("Photon counts along binding event minus background")
Expand Down

0 comments on commit bfd0a81

Please sign in to comment.