[AstroPy] Lomb-Scargle power
Ricky Egeland
ricky.egeland at gmail.com
Thu Jul 28 17:18:08 EDT 2016
PSD := power spectral density
ASD := amplitude spectral density
N := number of samples in the data
ASD = np.sqrt(2*PSD/N)
caveat: this is how it works in general; I haven't actually tried the astropy Lomb-Scargle yet. Looking at the docs you'll have to choose normalization='psd'.
– Ricky
> On Jul 26, 2016, at 8:46 AM, Élie Bouffard <Elie.Bouffard at USherbrooke.ca> wrote:
>
> Hi everyone,
> I'm presently working with the Lomb-Scargle periodogram in Astropy. It is very good, but I have a question. From the power outputs, how can you compute the corresponding amplitude of the sinusoid corresponding to that frequency? I know that you can use the .model method, but I would like to know the exact relation between power and sinusoid amplitude, because I want to know the amplitude instead of the power.
> Thanks!
> -Élie
>
> _______________________________________________
> AstroPy mailing list
> AstroPy at scipy.org
> https://mail.scipy.org/mailman/listinfo/astropy
More information about the AstroPy
mailing list