I am an astronomy student, and am doing a project where I need to do some least squares spectral analysis on some data I have taken using the lomb-scargle periodogram function discussed on this page:
Basically, I need to take my two sets of data (time and intensity, already put into arrays) and plot a power spectrum of them using the Lomb-Scargle function. I also need to be able to save the data that these power spectrums produce in order to further manipulate the data.
However I am very new to programming in general and I have no idea how to use this function. I've done a lot of research online, but nothing comes up (or if it does I have no clue what it is saying).
So could someone explain to me in laymans terms what I need to do to make this work?