Direct numerical calculation of wave properties