Analysis of Sensing Spectral for Signal Recovery Under a Generalized Linear Model