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