title: Numpy Arrays based on threshold criteria from a list
body: <p>I need to take a list with 7000 elements, the values range from ~ -150 to 150, and it cycles back and forth. Every time the value crosses a threshold of -50 I need to include all the values in an array until it crosses -50 again. I need to make an array for each of these cycles and then count how many arrays are made and find the mean of how many elements each of these arrays has.</p>