[lammps-users] computing parallel and perpendicular diffusion coefficient

Dear all
I want to calculate parallel and perpendicular diffusion coefficient for ellipsoids.
Is there any way to do this using lammps commands? or any other way?
thanks