Blame view
mich_psd_calculations/calc.py
483 Bytes
2ae5099ce first commit |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
from numpy import log, log10, pi #constants c = 3E8 nu = c/1542E-9 f = 1 #allan deviation aimed sigma_y = 1E-17 #PSD of frequency fluctuations (frequency flicker) in dB.Hz^-1 Sy = 10*log10(sigma_y**2/(2*log(2))) #PSD of phase fluctuations in dB.rad^2.Hz^-1 Sphi = Sy + 20*log10(nu) - 20*log10(f) #PSD of time delay fluctuations in dB.s^2.Hz^-1 Sx = Sphi - 20*log10(2*pi*nu) #PSD of position fluctuations in dB.m^2.Hz^-1 Su = Sphi + 20*log10(c) - 20*log10(2*pi*nu) -20*log10(2) |