[chronojump] Fixed Shetty CMJ power formula calculation
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Fixed Shetty CMJ power formula calculation
- Date: Mon, 19 May 2014 11:31:55 +0000 (UTC)
commit 74b31a16a7798b98d250017793b4f4f5a7fa4719
Author: Xavier de Blas <xaviblas gmail com>
Date: Mon May 19 13:30:48 2014 +0200
Fixed Shetty CMJ power formula calculation
src/constants.cs | 7 ++++---
src/sqlite/stat.cs | 2 +-
2 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/src/constants.cs b/src/constants.cs
index 1cf29b5..b0eecf2 100644
--- a/src/constants.cs
+++ b/src/constants.cs
@@ -255,11 +255,12 @@ public class Constants
public static string PotencySayersCMJFormula = PotencySayersCMJFormulaShort + "\n" +
"(51.9*" + Catalog.GetString("height") + "(cm))" +
"+ (48.9*(" + Catalog.GetString("body weight") + "+" + Catalog.GetString("extra weight") +
")) -2007";
-
+
+ //http://www.ncbi.nlm.nih.gov/pubmed/14658372
public static string PotencyShettyFormulaShort = Catalog.GetString("Peak power") + " (Shetty, 2002)";
public static string PotencyShettyFormula = PotencyShettyFormulaShort + "\n" +
- "(1925.72*" + Catalog.GetString("height") + "(cm))" +
- "+ (14.74*(" + Catalog.GetString("body weight") + "+" + Catalog.GetString("extra weight") +
")) -66.3";
+ "(1925.72*" + Catalog.GetString("height") + "(m))" +
+ "+ (14.74*(" + Catalog.GetString("body weight") + "+" + Catalog.GetString("extra weight") +
")) -666.3";
public static string PotencyCanavanFormulaShort = Catalog.GetString("Peak power") + " (Canavan,
2004)";
public static string PotencyCanavanFormula = PotencyCanavanFormulaShort + "\n" +
diff --git a/src/sqlite/stat.cs b/src/sqlite/stat.cs
index df67f5f..2c88df4 100644
--- a/src/sqlite/stat.cs
+++ b/src/sqlite/stat.cs
@@ -1135,7 +1135,7 @@ Log.WriteLine(intervalSpeeds);
}
else if (indexType == Constants.PotencyShettyFormulaShort) {
moreSelect =
- ini + "((1925.72 * 100 * " + jumpHeightInM + ") + (14.74 * (" + totalWeight +
")) - 66.3)" + end + ", 1, "; //the "1" is for selecting something for compatibility with potencyLewis that
needs to select two things
+ ini + "((1925.72 * " + jumpHeightInM + ") + (14.74 * (" + totalWeight + ")) -
666.3)" + end + ", 1, "; //the "1" is for selecting something for compatibility with potencyLewis that needs
to select two things
}
else if (indexType == Constants.PotencyCanavanFormulaShort) {
moreSelect =
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]