Skip to content

Commit

Permalink
Remove restriction that the signal cov. matrix be purely real
Browse files Browse the repository at this point in the history
  • Loading branch information
jburba committed Jul 21, 2023
1 parent 201231a commit f8d4b24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hydra_pspec/pspec.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ def covariance_from_pspec(ps, fourier_op):
Nfreqs = ps.size
Csigfft = np.zeros((Nfreqs, Nfreqs), dtype=complex)
Csigfft[np.diag_indices(Nfreqs)] = ps
C = (fourier_op.T.conj() @ Csigfft @ fourier_op).real
C = (fourier_op.T.conj() @ Csigfft @ fourier_op)
return C


Expand Down

0 comments on commit f8d4b24

Please sign in to comment.