8 #ifndef __wfsNoisePSD_hpp__
9 #define __wfsNoisePSD_hpp__
24 template<
typename realT>
35 realT snr2 = pow(Fg*tau,2) / (Fg*tau + npx*Fb*tau + npx*ron*ron);
37 realT psd = 2*pow(beta_p_k,2)/snr2 * tau;
39 for(
size_t i=0; i< PSD.size(); ++i)
void wfsNoisePSD(std::vector< realT > &PSD, realT beta_p_k, realT Fg, realT tau, realT npx, realT Fb, realT ron)
Populate a vector with the PSD of measurement noise given WFS parameters.