Opto-electronic transfer function