From sleep staging to spindle detection: a case study on end-to-end automated sleep analysis | Synapse