fitness_tools.composition package¶
Submodules¶
fitness_tools.composition.bodyfat module¶
-
class
fitness_tools.composition.bodyfat.
DurninWomersley
(age, sex, *args)¶ Bases:
fitness_tools.composition.bodyfat.GenericCalculator
Uses the Durnin Wormersley equation to calculate body density. Use triceps, biceps, subscapular, and suprailliac skinfold measurements.
Parameters: - age – Age as a positive, whole number
- sex – Sex either ‘male’ or ‘female’ case insensative.
- *args –
A list of positive, whole numbers reflected as skinfold measurements in millimeters.
-
body_density
()¶ Converts params age, sex, and skinfolds to body density.
Return type: float Returns: body_density
-
class
fitness_tools.composition.bodyfat.
GenericCalculator
(age, sex, *args)¶ Bases:
object
The base class that all body fat calculations inherit from.
Parameters: - age – Age as a positive, whole number
- sex – Sex either ‘male’ or ‘female’ case insensative.
- *args –
A list of positive, whole numbers reflected as skinfold measurements in millimeters. See subclass documentation for implementation details.
-
brozek
(body_density)¶ Parameters: body_density – the results yielded from a body density equation. Return type: float Returns: body_fat
-
ortiz
(body_density)¶ Parameters: body_density – the results yielded from a body density equation Return type: float Returns: body_fat
-
schutte
(body_density)¶ Parameters: body_density – the results yielded from a body density equation. Return type: float Returns: body_fat
-
siri
(body_density)¶ Most popular and generic body density to bodyfat conversion equation.
Parameters: body_density – the results yielded from a body density equation. Return type: float Returns: body_fat
-
wagner
(body_density)¶ Parameters: body_density – the results yielded from a body density equation. Return type: float Returns: body_fat
-
class
fitness_tools.composition.bodyfat.
JacksonPollock3Site
(age, sex, *args)¶ Bases:
fitness_tools.composition.bodyfat.GenericCalculator
Uses the Jackson Pollock 3 site equation to calculate body density. Use chest, triceps, and subscapular skinfolds for men and triceps, thigh and suprailiac for women.
Parameters: - age – Age as a positive, whole number
- *args –
A list of positive, whole numbers reflected as skinfold measurements in millimeters.
-
body_density
()¶ Converts params age, sex, and skinfolds to body density.
Return type: float Returns: body_density
-
class
fitness_tools.composition.bodyfat.
JacksonPollock4Site
(age, sex, *args)¶ Bases:
fitness_tools.composition.bodyfat.GenericCalculator
Uses the Jackson Pollock 4 site equation to calculate body fat. Use abdominal, triceps, thigh, and suprailiac skinfolds.
Parameters: - age – Age as a positive, whole number
- *args –
A list of positive, whole numbers reflected as skinfold measurements in millimeters.
-
body_fat
()¶ Converts params age, sex, and skinfolds directly to body fat.
Return type: float Returns: body_fat
-
class
fitness_tools.composition.bodyfat.
JacksonPollock7Site
(age, sex, *args)¶ Bases:
fitness_tools.composition.bodyfat.GenericCalculator
Uses the Jackson Pollock 7 site equation to calculate body density. Use chest, axilla, tricep, subscapular, abdominal, suprailiac, and thigh measurements.
Parameters: - age – Age as a positive, whole number
- sex – Sex either ‘male’ or ‘female’ case insensative.
- *args –
A list of positive, whole numbers reflected as skinfold measurements in millimeters.
-
body_density
()¶ Converts params age, sex, and skinfolds to body density.
Return type: float Returns: body_density