Skip to main content

z-scores of anthropometric measurements of children below 5 years based on WHO

Project description

Z score

This libray is Used for measuring Z score of Children (0-5 Years) based on standard provided by WHO 2006

Latest Version https://img.shields.io/pypi/wheel/cgmzscore.svg https://img.shields.io/pypi/pyversions/cgmzscore.svg banner

REQUIREMENTS

  • Python 2.7.x, Python 3.x or later

INSTALLATION

pip install cgmzscore

EXAMPLE USAGE

calculate z score for weight vs age

from cgmzscore import Calculator

v = Calculator().zScore_wfa(weight="7.853",muac="13.5",age_in_days='16',sex='M',height='73')

calculate z score for weight vs length/height

from cgmzscore import Calculator

v = Calculator().zScore_wfl(weight="7.853",muac="13.5",age_in_days='16',sex='M',height='73')

calculate z score for weight vs length/height and both wfl and wfh works same

from cgmzscore import Calculator

v = Calculator().zScore_wfh(weight="7.853",muac="13.5",age_in_days='16',sex='M',height='73')

calculate z score for length vs age

from cgmzscore import Calculator

v = Calculator().zScore_lhfa(weight="7.853",muac="13.5",age_in_days='16',sex='M',height='73')

calculate all three z score

from cgmzscore import Calculator

v = Calculator().zScore(weight="7.853",muac="13.5",age_in_days='16',sex='M',height='73')

calculate all three z score along with class

from cgmzscore import Calculator

v = calculator.zScore_withclass(weight="7.853",muac="13.5",age_in_days='16',sex='M',height='73')

find child is SAM/MAM/Healthy

from cgmzscore import Calculator

v = Calculator().SAM_MAM(weight="7.853",muac="13.5",age_in_days='16',sex='M',height='73')

Chart for z score for weight vs age

from cgmzscore import Chart

Chart().zScore_wfa_chart(weight=[7.853],muac=[13.5],age_in_days=[160],sex='M',height=[73]).show()

Chart for z score for length vs age

from cgmzscore import Chart

Chart().zScore_lhfa_chart(weight=[7.853],muac=[13.5],age_in_days=[160],sex='M',height=[73]).show()

Chart for z score for weight vs length

from cgmzscore import Chart

Chart().zScore_wfh_full_chart(weight=[7.853],muac=[13.5],age_in_days=[160],sex='M',height=[73]).show()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cgmzscore-2.0.7.tar.gz (383.8 kB view hashes)

Uploaded Source

Built Distribution

cgmzscore-2.0.7-py3-none-any.whl (430.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page