pymgipsim.InputGeneration.meal_energy_content.estimate_energy_intake_from_g_cho¶
- estimate_energy_intake_from_g_cho(g_cho, f_cho, cho_energy_density=4)[source]¶
Estimates the total energy intake from given grams of carbohydrates, carbohydrate fraction, and carbohydrate energy density.
Parameters: - g_cho: float
Grams of carbohydrates.
- f_cho: float
Fraction of energy intake from carbohydrates.
- cho_energy_density: float, optional
Energy density of carbohydrates in kilocalories per gram. Default is set to glucose_energy_density_kcal_per_g.
Returns: - float
Estimated total energy intake in kilocalories.