Skip to content

Commit

Permalink
add comment for alpha value
Browse files Browse the repository at this point in the history
  • Loading branch information
JulienDoerner committed Mar 15, 2024
1 parent 0169c10 commit 3ee0447
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Source.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ double SourceSNRDistribution::fz(double z) const{
}

double SourceSNRDistribution::getAlpha() const {
return alpha - 1;
return alpha - 1; // -1 to account for the R-term in the volume element dV = R * dR * dphi * dz
}

double SourceSNRDistribution::getBeta() const {
Expand Down

0 comments on commit 3ee0447

Please sign in to comment.