Skip to content

Commit 0721596

Browse files
committed
update svd simulation
1 parent ed9a0c3 commit 0721596

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/fftvis/cpu/cpu_simulate.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -416,8 +416,8 @@ def _compute_basis_visibilities(
416416
# Gather coefficients once, outside the loop.
417417
# The measurement equation is V_ij = A_i^H C A_j, so the left (ant1)
418418
# coefficients are conjugated and the right (ant2) are not.
419-
ant1_c = beam_coefs[ant1_idxs, :, freqidx].conj() # C_ik^* (nbls, K)
420-
ant2_c = beam_coefs[ant2_idxs, :, freqidx] # C_jl (nbls, K)
419+
ant1_c = beam_coefs[ant1_idxs, :, freqidx] # C_ik^* (nbls, K)
420+
ant2_c = beam_coefs[ant2_idxs, :, freqidx].conj() # C_jl (nbls, K)
421421

422422
# Only iterate over the upper triangle (k <= l) and use the conjugate
423423
# symmetry V_tilde[l, k] = V_tilde[k, l]^* to handle the lower triangle

src/fftvis/wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,5 +344,5 @@ def simulate_vis(
344344
trace_mem=trace_mem,
345345
nchunks=nchunks,
346346
source_buffer=source_buffer,
347-
beam_coeffs=beam_coefs,
347+
beam_coefs=beam_coefs,
348348
)

0 commit comments

Comments
 (0)