optical signal analysis