phonon group velocity

Dear developers

I need to find the group velocity of phonons due to e-p interactions.

  1. Can we use the frequency data in linewidth.phself to evaluate the phonon group velocity using the relation d(omega)/dq?
  2. Also can someone please let me know how to calculate the distances among q points and k points in linewidth files of phonon and electron.

Thank you
Inoka