Loading scsearch.m +22 −3 Original line number Diff line number Diff line Loading @@ -109,9 +109,28 @@ while(1) end end %PARTI DA FARE GUARDANDO L'OVERLEAF: % - Create (...)a coherent template bank in the ν(m) space % - Save this template bank, we'll need it later %% Create (...)a coherent template bank in the ν_s(m) space %% Save this template bank, we'll need it later % Nni+1 is the number of ni_s^(m) points in the grid (counting borders, % Nni is the number of steps) for each s,m couple. % We make sure to oversample with respect to eq. 23 M2015 to ensure the max % mismatch is not exceeded. Nni = zeros(M,s_s); for s = 1:s_s Nni(:,s) = ceil((nismax(:,s)-nismin(:,s))/delta_ni(mu_s,s,g_jj(s))); end % nism is a structure which holds the various vectors of ni_s^(m) (our % coherent template bank) % each nism{m,s} is the array giving the respective grid, and its i-th % element is accessed as nism{m,s}(i) for m = 1:M for s = 1:s_s a=nismin(m,s):((nismax(m,s)-nismin(m,s))/(Nni(m,s))):nismax(m,s); nism{m,s}=a; end end %Fourier transform on original time-series -------------------------------- %per mantenere l'informazione di fase, non faccio il valore assoluto al quadrato della fft Loading Loading
scsearch.m +22 −3 Original line number Diff line number Diff line Loading @@ -109,9 +109,28 @@ while(1) end end %PARTI DA FARE GUARDANDO L'OVERLEAF: % - Create (...)a coherent template bank in the ν(m) space % - Save this template bank, we'll need it later %% Create (...)a coherent template bank in the ν_s(m) space %% Save this template bank, we'll need it later % Nni+1 is the number of ni_s^(m) points in the grid (counting borders, % Nni is the number of steps) for each s,m couple. % We make sure to oversample with respect to eq. 23 M2015 to ensure the max % mismatch is not exceeded. Nni = zeros(M,s_s); for s = 1:s_s Nni(:,s) = ceil((nismax(:,s)-nismin(:,s))/delta_ni(mu_s,s,g_jj(s))); end % nism is a structure which holds the various vectors of ni_s^(m) (our % coherent template bank) % each nism{m,s} is the array giving the respective grid, and its i-th % element is accessed as nism{m,s}(i) for m = 1:M for s = 1:s_s a=nismin(m,s):((nismax(m,s)-nismin(m,s))/(Nni(m,s))):nismax(m,s); nism{m,s}=a; end end %Fourier transform on original time-series -------------------------------- %per mantenere l'informazione di fase, non faccio il valore assoluto al quadrato della fft Loading