Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jsdillon committed Feb 14, 2025
1 parent b0cc452 commit bcce591
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions notebooks/file_calibration.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"source": [
"# Single File Calibration\n",
"\n",
"**by Josh Dillon, Aaron Parsons, Tyler Cox, and Zachary Martinot**, last updated November 25, 2024\n",
"**by Josh Dillon, Aaron Parsons, Tyler Cox, and Zachary Martinot**, last updated Feburary 14, 2025\n",
"\n",
"This notebook is designed to infer as much information about the array from a single file, including pushing the calibration and RFI mitigation as far as possible. Calibration includes redundant-baseline calibration, RFI-based calibration of delay slopes, model-based calibration of overall amplitudes, and a full per-frequency phase gradient absolute calibration if abscal model files are available.\n",
"\n",
Expand Down Expand Up @@ -385,9 +385,7 @@
" am_totally_dead = ant_class.AntennaClassification(good=[ant for ant in ants if ant not in totally_dead_ants], bad=totally_dead_ants)\n",
" am_corr = ant_class.antenna_bounds_checker(am.final_metrics['corr'], bad=[am_corr_bad], suspect=[am_corr_suspect], good=[(0, 1)])\n",
" am_xpol = ant_class.antenna_bounds_checker(am.final_metrics['corrXPol'], bad=[am_xpol_bad], suspect=[am_xpol_suspect], good=[(-1, 1)])\n",
" if np.all([ant_metrics_class[utils.split_bl(bl)[0]] == 'bad' for bl in auto_bls]):\n",
" raise ValueError('All antennas are flagged for ant_metrics.')\n",
"ant_metrics_class = am_totally_dead + am_corr + am_xpol "
"ant_metrics_class = am_totally_dead + am_corr + am_xpol\n",
]
},
{
Expand Down

0 comments on commit bcce591

Please sign in to comment.