Comparison of spike detection fidelity measured with targeted illumination and confocal slit widths of 4.5, 11.3, 22.5 and 156 m (two-sided Wilcoxon signed-rank test; n = 30 cells from six FOVs, two mice). Box plots: box, 25th (Q1, bottom line) to 75th (Q3, top line) percentiles; whiskers, Q1 1.5 x IQR to Q3 + 1.5 x IQR, where IQR = Q3Q1; middle line, median ( m ); notch, from to ; dots, measurement points. * P < 0.05, ** P < 0.01, *** P < 0.001, no label if P 0.05, pairwise Wilcoxon signed-rank test, see Source Data Fig. 2 for statistics.