How to calculate temperature while using brownian dynamics in LAMMPS (newer versions)

I am simulating peptides. I am using brownian dynamics in LAMMPS_aug_2023 version. In the note I found this:


And as expected I found the temperature in my simulation is not at all close to the expected temperature (here 298K)

How do I calculate the real temperature in this case?