Determination of the Response Amplitude Operator of a tidal turbine as a spectral transfer function