GNXAS. I. Phase shifts and signal calculations