Analysis routines for CPDN data written in Scientific Python