Effective Mass of a Semiconductor using Materials Studio CASTEP

I would like to calculate the effective mass of a semiconductor using CASTEP bandstructures.  Can anyone give me the procedure?