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.