I am trying to formulate a function to estimate the probability of a given 1-D vector which is a periodic signal.
For instance, a sine or a cosine wave could result in a probability of 1; a white noise signal should result in a probability close to 0.
Can anyone help me to come up with this function? Thanks in advance.