OTOH, as for SU(2) representation, there are two popular gauges: Pauli and Cartan, as commented here. So, I want to know/confirm the precise forms of these matrices used by vasp. Any tips would be greatly appreciated.The format of trace.txt file is only a necessary condition to be used by getBandRep.
Another issue is that the rotation matrices used, especially the SU(2) spin rotation matrix, have to be the same with vasp and vasp2trace.
Regards,
HZ