to_signal function

Create signal object