Line Shape Function In Python