# H-bond data analysis

**URL:** <https://gromacs.bioexcel.eu/t/h-bond-data-analysis/7242>\
**Category:** User discussions\
**Created:** [September 22, 2023, 12:22am UTC](https://gromacs.bioexcel.eu/t/h-bond-data-analysis/7242 "2023-09-22T00:22:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Neena](https://avatars.discourse-cdn.com/v4/letter/n/bc79bd/32.png) [@Neena](https://gromacs.bioexcel.eu/u/Neena)\
**Post date:** [September 22, 2023, 12:22am UTC](https://gromacs.bioexcel.eu/t/h-bond-data-analysis/7242/1 "2023-09-22T00:22:58Z")

</div>

Hello Gromacs Team,

Is there a way to extract average lifetime for all H-bonds listed in the output summary file of gmx hbond (shown below), in addition to the H-bond occupancy%?  
In other words, how long does that particular H-bond stays on (without disrupting) on average in the trajectory of interest?  
 ![image](https://europe1.discourse-cdn.com/flex017/uploads/bioexcel1/original/2X/e/ef31df31e83c6a887d1df30f7f95b23fd0ca0a06.png)

Many thanks,  
Neena

---

<div class="post-metadata">

**Author:** ![Neena](https://avatars.discourse-cdn.com/v4/letter/n/bc79bd/32.png) [@Neena](https://gromacs.bioexcel.eu/u/Neena)\
**Post date:** [September 26, 2023, 4:18pm UTC](https://gromacs.bioexcel.eu/t/h-bond-data-analysis/7242/3 "2023-09-26T16:18:03Z")

</div>

I was wondering could this lifetime be embedded in the matrix file (.xpm) generated by gmx hbond -hbm option?
