rcpch / rcpchgrowth-python

A python package to produce calculations for all growth issues
GNU Affero General Public License v3.0
5 stars 4 forks source link

Do not return errors where data does not exist #47

Open eatyourpeas opened 2 weeks ago

eatyourpeas commented 2 weeks ago

Although it is not possible to calculate z scores at ages where LMS values do not exist, many users need to be able to plot the numbers on the chart anyway, even if there are no lines. This is particuarly true if:

  1. neonates below threshold of viability (22 weeks and above)
  2. Turner from 0-1y