Method and node for analysing periodic movements