# Trapping probability equation issue on website

**URL:** <https://allpix-squared-forum.web.cern.ch/t/trapping-probability-equation-issue-on-website/820>\
**Category:** Site Feedback\
**Created:** [September 18, 2026, 4:50pm UTC](https://allpix-squared-forum.web.cern.ch/t/trapping-probability-equation-issue-on-website/820 "2026-09-18T16:50:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![longli](https://allpix-squared-forum.web.cern.ch/letter_avatar_proxy/v4/letter/l/d78d45/32.png) [@longli](https://allpix-squared-forum.web.cern.ch/u/longli)\
**Post date:** [September 18, 2026, 4:50pm UTC](https://allpix-squared-forum.web.cern.ch/t/trapping-probability-equation-issue-on-website/820/1 "2026-09-18T16:50:39Z")

</div>

Hi,  
I am doing some radiation-induced damage simulation on MAPS. I found the trapping probability equation displayed on this online user-guide is:

p\_{e,h} = (1 - \exp^{1\frac{\delta t}{\tau\_{e,h}}})

which is not correct, I checked the source code, it should be

p\_{e,h} = (1 - \exp^{-1\frac{\delta t}{\tau\_{e,h}}})

it should not affect the simulation, but may mis-lead begining users. I hope this could be revised on the webpage user guide [**Trapping and Detrapping of Charge Carriers**](https://allpix-squared.docs.cern.ch/docs/06_models/04_trapping/)

---

<div class="post-metadata">

**Author:** ![simonspa](https://allpix-squared-forum.web.cern.ch/user_avatar/allpix-squared-forum.web.cern.ch/simonspa/32/597_2.png) [@simonspa](https://allpix-squared-forum.web.cern.ch/u/simonspa)\
**Post date:** [September 28, 2026, 12:17pm UTC](https://allpix-squared-forum.web.cern.ch/t/trapping-probability-equation-issue-on-website/820/2 "2026-09-28T12:17:45Z")

</div>

Thank you @longli I have fixed this here:

> **[docs: fix typo in formula (!1271) · Merge requests · Allpix Squared / Allpix...](https://gitlab.cern.ch/allpix-squared/allpix-squared/-/merge_requests/1271)**
>
> Found by longli here: https://allpix-squared-forum.web.cern.ch/t/trapping-probability-equation-issue-on-website/820
