Skip to content
This repository was archived by the owner on Mar 4, 2026. It is now read-only.
This repository was archived by the owner on Mar 4, 2026. It is now read-only.

Use direct body density calculation, rather than inverse function #9

@ryanjdillon

Description

@ryanjdillon

The current calculation of body density uses a function translated from Martin's code which calculated the density solely from the % fat/lipid, and though the same, I'd like to do the full calculation by also passing the % body water.

In smartmove/ann/prey.py/add_rhomod():

    dens_gcm3 = pyotelem.physio_seal.lip2dens(isotope['fat_perc'])
    isotope['density_kgm3'] = dens_gcm3 * 1000

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions