feisty.core.process.compute_t_frac_pelagic#
- feisty.core.process.compute_t_frac_pelagic(t_frac_pelagic, fish_list, biomass, food_web, pelagic_functional_types, demersal_functional_types, PI_be_cutoff, domain_params, ecosys_params, reset=False)#
Return the fraction of time spent in the pelagic.
- Parameters:
t_frac_pelagic (array_like) – DataArray for storing the result of the computation.
fish_list (list) – List of feisty.ecosystem.fish object.
biomass (xarray.DataArray) – Biomass array.
food_web (feisty.food_web) – Food web object.
reset (boolean, optional) – If “True”, reset t_frac_pelagic to t_frac_pelagic_static.