tcspc op• 資料種類:counts → counts
• 呼叫:import photoncount; photoncount.tcspc_irf_convolve(hist, bin_ps=100.0, irf_fwhm_ps=200.0, truncate=4.0)(或 opsphoton.get("tcspc_irf_convolve"))
用儀器響應(計時抖動)模糊到達時間直方圖。
> 以下的詳細說明為原文 —— 摘要與標題已翻譯。
The temporal analogue of a PSF convolution: a detector's timing uncertainty
(SPAD jitter + TDC quantisation + laser pulse width) smears every arrival
time by the instrument response function, here a Gaussian of full width at
half maximum *irf_fwhm_ps*. The kernel is the exact bin integral of that
Gaussian (erf differences), normalised to sum 1, truncated at
`+-truncate*sigma` and forced to odd length so the convolution is centred.
Ground truth: convolving a unit spike in the middle of a 256-bin window with
`irf_fwhm_ps = 500 at bin_ps = 50` leaves the centroid exactly
where it was (measured shift 0.0 ps — the kernel is symmetric) and gives a
profile whose measured FWHM is 501.22 ps. That 0.24% excess over 500 is the
*measurement*, not the kernel: :func:tcspc_stats finds the half-maximum
crossings by linear interpolation between bins, which slightly overestimates
the width of a Gaussian.
Total counts are preserved *except* at the window edges, where
`mode='same'` discards the tail that falls outside — measured loss exactly
0 for that centred spike, but a genuine loss for a pulse within a few sigma
of either end.
Returns a float64 1-D histogram of the same length as *hist*.
Raises `ValueError`: negative, non-finite or non-1-D *hist*, a
non-positive *bin_ps* / *irf_fwhm_ps* / *truncate*, an IRF sigma below
1e-3 bins (the kernel would be a delta and the op a no-op — say so instead
of pretending to blur), and a kernel that would be longer than the
:data:MAX_BINS cap.
• 範例資料目錄(下載 URL / 授權) —— 2-D 用 skimage.data(BSD/公有領域)加合成圖,3-D 給出真實資料源(Stanford/PDS 等)的下載 URL。
• 運算子來歷與參考文獻 —— 該運算子族所依據的研究/方法出處。
• 演算法的正典(作者・年份)與用途見上面的族使用指南。
• photon_timeresolved — py -3.11 examples/photon_timeresolved.py
counts 作為輸入)tcspc_coates_correct · tcspc_background_subtract · tcspc_stats · dtof_depth · lifetime_fit · lifetime_phasor
tcspc)tcspc_simulate · tcspc_background_subtract · tcspc_stats
*Provenance: photoncount.py — PHOTON 運算子登記表。本條目由 tools/opdocs.py md 自動產生(請勿手動編輯)。*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.