Skip to content

Releases: rcpch/rcpchgrowth-python

v4.4.0

19 Aug 07:40
a7357e2

Choose a tag to compare

What's Changed

Several back and forths here for notebooks
This release makes two changes, neither of which should change the function of the underlying package, but that implement two important changes, hence the minor version bump

  • deprecates setup.py in favour of pyproject.toml
  • includes some example python notebooks to make access to the project more accessible for Jupyter notebook users

Full Changelog: v4.3.8...v4.4.0

v4.3.8

05 Aug 21:35
adc99f2

Choose a tag to compare

The fictional child endpoint has for some time not followed corrected age, but instead has generated values against chronological age, leading to some unusual charts when gestation was not 40 weeks.

This release fixes it so that fictional premature children can be plotted more as expected

What's Changed

Full Changelog: v4.3.7...v4.3.8

v4.3.7

18 May 14:13
917df79

Choose a tag to compare

Changes

Consumers of the digital growth charts API have found the error message for measurements that are out of bounds (+/- 8 SDS) not sufficiently detailed and asked for the age to be included in the response (in case the date of birth supplied was wrong).

It now reads: The height/length of 180.0 cm in a child of 2.9 years is above +8 SD and considered to be an error.

v4.3.6

31 Jan 21:32
f93d08b

Choose a tag to compare

Updates

Fix for WHO reference where LMS values missing for age 5.0 - this fills the gap in the centile lines between ages 5.0 and 5.08 y
Also fixes the WHO lookups to correctly include default_youngest_reference and return the correct WHO reference.

v4.3.5

17 Jan 21:43
9a21193

Choose a tag to compare

Update

In CDC, the WHO standard should be used to calculate values for the under 2s, except head circumference. It was using the CDC for all ages leading to errors for users.

v4.3.4

11 Jan 19:51
b5e9249

Choose a tag to compare

Update

This patch replaces the rounding of centile values to the nearest 2/3 SDS if cole centiles have been requested

A test has been added to check the length of the chart_coordinates response object

v4.3.3

31 Dec 18:54
1f0a22d

Choose a tag to compare

Reimplementation of the create_chart

Includes all references
Introduces specific decimal ages from which to generate charts
Introduces new centile collection [1, 3, 5, 10, 15, 50, 85, 90, 95, 97, 99], named 'extended-who-centiles'

v4.3.2

28 Dec 23:47
e39ceab

Choose a tag to compare

Bug fixes

  1. absent decimal_age key in the female WHO 2007 BMI data has been replaced
  2. the filtering introduced in the last release to remove >4y data from lms arrays inadvertently removed all >4y data in chart function for UK-WHO in the UK90 reference.

v4.3.1

28 Dec 20:55
e731f81

Choose a tag to compare

bug fixes

update midparental height calculation to allow WHO where reference data runs out at 19y

fixes the create_chart function broken after introduction of WHO to filter out WHO data over 4y in the UK-WHO charts

v4.3.0

28 Dec 17:40
3ec22a4

Choose a tag to compare

Implements WHO growth reference 2007 (age 5-19y)
treats 37-42 w as term
Corrects for gestation otherwise up until 2 y but not beyond, as for CDC
No tests added, on the basis that 0-5y tests all passing.
Bumps minor version