https://www.namptinhibitor.com/2017/08/22/and-trough-of-each-wave-in-a-dataset-and-subtracting-the/