/* * psd.cpp * * Created on: May 31, 2013 * Author: azoghbi */ #include "inc/psd_rms.hpp" psd_rms::psd_rms( lcurve inlc , vec fqL ) { // ----------- initial parameters ------------ // n = inlc.len; dt = inlc.dt; // ------------------------------------------ // // ----------- light curve setup ------------ // setlc(); mean = inlc.demean(); mean2 = mean*mean; int i; for( i=0 ; i3 ){dpar[i] = 3;} if( dpar[i]<-3 ){dpar[i] = -3;} pars[i] += dpar[i]; } }