# Extract Temperature of a group

**URL:** <https://gromacs.bioexcel.eu/t/extract-temperature-of-a-group/3308>\
**Category:** User discussions\
**Tags:** mdrun\
**Created:** [December 15, 2021, 4:28am UTC](https://gromacs.bioexcel.eu/t/extract-temperature-of-a-group/3308 "2021-12-15T04:28:51Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![jalemkul](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/jalemkul/32/18_2.png) [@jalemkul](https://gromacs.bioexcel.eu/u/jalemkul)\
**Post date:** [December 16, 2021, 2:53am UTC](https://gromacs.bioexcel.eu/t/extract-temperature-of-a-group/3308/5 "2021-12-16T02:53:04Z")

</div>

`gmx traj -ot` gives the system temperature (not corrected for constraints). Then you can apply the correction:

T\_real = T\_calc \* [natoms / (natoms - nconstraints)]

---

_[View the full topic](https://gromacs.bioexcel.eu/t/extract-temperature-of-a-group/3308)._
