def run_tutorial(plot=False, multiplex=True, return_streams=False, cores=<NUM_LIT:4>,<EOL>verbose=False):
client = Client("<STR_LIT>", debug=verbose)<EOL>cat = client.get_events(<EOL>minlatitude=-<NUM_LIT>, maxlatitude=-<NUM_LIT>, minlongitude=<NUM_LIT>,<EOL>maxlongitude=<NUM_LIT>, starttime=UTCDateTime(<NUM_LIT>, <NUM_LIT:5>, <NUM_LIT:1>),<EOL>endtime=UTCDateTime(<NUM_LIT>, <NUM_LIT:5>, <NUM_LIT:20>))<EOL>print("<STR_LIT>" % len(cat))<EOL>cat = filter_picks(catalog=cat, top_n_picks=<NUM_LIT:5>)<EOL>stachans = list(set(<EOL>[(pick.waveform_id.station_code, pick.waveform_id.channel_code)<EOL>for event in cat for pick in event.picks]))<EOL>clusters = space_cluster(catalog=cat, d_thresh=<NUM_LIT:2>, show=False)<EOL>cluster = sorted(clusters, key=lambda c: len(c))[-<NUM_LIT:1>]<EOL>client = Client('<STR_LIT>')<EOL>design_set = []<EOL>st = Stream()<EOL>for event in cluster:<EOL><INDENT>print("<STR_LIT>".format(event.resource_id.id))<EOL>bulk_info = []<EOL>t1 = event.origins[<NUM_LIT:0>].time<EOL>t2 = t1 + <NUM_LIT>  <EOL>t1 -= <NUM_LIT:0.1><EOL>for station, channel in stachans:<EOL><INDENT>bulk_info.append(('<STR_LIT>', station, '<STR_LIT:*>', channel[<NUM_LIT:0>:<NUM_LIT:2>] + '<STR_LIT:?>', t1, t2))<EOL><DEDENT>st += client.get_waveforms_bulk(bulk=bulk_info)<EOL><DEDENT>print("<STR_LIT>" % len(st))<EOL>for event in cluster:<EOL><INDENT>t1 = event.origins[<NUM_LIT:0>].time<EOL>t2 = t1 + <NUM_LIT><EOL>design_set.append(st.copy().trim(t1, t2))<EOL><DEDENT>print("<STR_LIT>")<EOL>detector = subspace.Detector()<EOL>detector.construct(<EOL>streams=design_set, lowcut=<NUM_LIT>, highcut=<NUM_LIT>, filt_order=<NUM_LIT:4>,<EOL>sampling_rate=<NUM_LIT:20>, multiplex=multiplex, name='<STR_LIT>', align=True,<EOL>reject=<NUM_LIT>, shift_len=<NUM_LIT:6>, plot=plot).partition(<NUM_LIT:9>)<EOL>print("<STR_LIT>")<EOL>if plot:<EOL><INDENT>detector.plot()<EOL><DEDENT>t1 = UTCDateTime(<NUM_LIT>, <NUM_LIT:5>, <NUM_LIT:11>, <NUM_LIT>)<EOL>t2 = UTCDateTime(<NUM_LIT>, <NUM_LIT:5>, <NUM_LIT:11>, <NUM_LIT:20>)<EOL>bulk_info = [('<STR_LIT>', stachan[<NUM_LIT:0>], '<STR_LIT:*>',<EOL>stachan[<NUM_LIT:1>][<NUM_LIT:0>] + '<STR_LIT:?>' + stachan[<NUM_LIT:1>][-<NUM_LIT:1>],<EOL>t1, t2) for stachan in detector.stachans]<EOL>print("<STR_LIT>")<EOL>st = client.get_waveforms_bulk(bulk_info)<EOL>st.merge().detrend('<STR_LIT>').trim(starttime=t1, endtime=t2)<EOL>print("<STR_LIT>")<EOL>detections, det_streams = detector.detect(<EOL>st=st, threshold=<NUM_LIT>, trig_int=<NUM_LIT:2>, extract_detections=True,<EOL>cores=cores)<EOL>if return_streams:<EOL><INDENT>return detections, det_streams<EOL><DEDENT>else:<EOL><INDENT>return detections<EOL><DEDENT>
Run the tutorial.

:return: detections