add function for power spectrum

1 job for master in 1 minute and 19 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Test
passed #3188
deploy

00:01:19