Code used for DRIPc analysis