Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jsdillon committed Aug 30, 2024
1 parent d980478 commit 6b3306c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notebooks/file_calibration.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1274,7 +1274,7 @@
" model=model, data=data_here, wgts=wgts_here, data_bls=data_bls, model_bls=model_bls, return_gains=False, \n",
" refpol='Jee', gain_ants=sol.gains.keys()\n",
" )\n",
" delta_gains = {antpol: (np.ones_like(delta) if antpol[1] == 'Jee' else np.exp(1j * delta)) for (ant, pol) in sol.gains.keys()}\n",
" delta_gains = {antpol: (np.ones_like(delta) if antpol[1] == 'Jee' else np.exp(1j * delta)) for antpol in sol.gains.keys()}\n",
" \n",
" # apply gains\n",
" # \\Delta = \\phi_e - \\phi_n, where V_{en}^{cal} = V_{en}^{uncal} * e^{i \\Delta} \n",
Expand Down

0 comments on commit 6b3306c

Please sign in to comment.