Characterizing the influence of `internal states` on sensory