tcspc_irf_convolve — PHOTON tcspc op

데이터 종류: countscounts

호출: 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.

자세한 사용 가이드

photon_timeresolved 패밀리 가이드

참고(샘플 데이터·문헌)

• 샘플 데이터 카탈로그(DL URL / 라이선스) —— 2-D 는 skimage.data(BSD/public)+ 합성, 3-D 는 실데이터 소스(Stanford/PDS 등)의 DL URL.

• 연산자의 내력·참고문헌 —— 이 연산자 족의 바탕이 된 연구/기법의 출처.

• 알고리즘의 정전(저자·연도)과 용도는 위의 패밀리 사용 가이드에 적혀 있습니다.

실행 가능한 예제(이 연산자를 실제로 호출하는 검증된 샘플)

photon_timeresolvedpy -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 연산자 레지스트리. 이 op 노트는 tools/opdocs.py md 가 자동 생성합니다(직접 편집하지 마세요).*

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.