Optimal linear-quadratic systems for detection and estimation | Synapse