Skip to content

Commit

Permalink
Fix mass ratio uncertainty being wrong in "Isotopics from peaks".
Browse files Browse the repository at this point in the history
Was multiplying by specific activity ratio, instead of diving.
  • Loading branch information
wcjohns committed Jun 4, 2024
1 parent ff5d1e2 commit 3696adf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/RelActCalcManual.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1510,8 +1510,8 @@ void RelEffSolution::get_mass_ratio_table( std::ostream &results_html ) const
{
const double i_to_j_act_ratio_uncert = activity_ratio_uncert( nuc_i_str, nuc_j_str );
const double j_to_i_act_ratio_uncert = activity_ratio_uncert( nuc_j_str, nuc_i_str );
const double i_to_j_mass_ratio_uncert = i_to_j_act_ratio_uncert * i_to_j_specific_act;
const double j_to_i_mass_ratio_uncert = j_to_i_act_ratio_uncert * j_to_i_specific_act;
const double i_to_j_mass_ratio_uncert = i_to_j_act_ratio_uncert * j_to_i_specific_act;
const double j_to_i_mass_ratio_uncert = j_to_i_act_ratio_uncert * i_to_j_specific_act;

results_html << "<tr><td>" << nuc_i->symbol << "/" << nuc_j->symbol
<< "</td><td>" << PhysicalUnits::printValueWithUncertainty( i_to_j_mass_ratio, i_to_j_mass_ratio_uncert, nsigfig )
Expand Down

0 comments on commit 3696adf

Please sign in to comment.