Skip to content

Commit

Permalink
Sum histogram hits with single events, to calculate total flux.
Browse files Browse the repository at this point in the history
  • Loading branch information
kaklik committed Jun 16, 2024
1 parent 289360a commit 08c6ff4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fw/AIRDOS04/AIRDOS04.ino
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,8 @@ void DataOut()
{
flux += histogram[n];
}

flux += hit_count; // sum particles in the histogram with single partiles detections.

// make a string for assembling the data to log:
String dataString = "";
Expand Down

0 comments on commit 08c6ff4

Please sign in to comment.