2017-03-03 00:10:02 main:187 Starting SpikeDetekt version 0.3.0 on 2017-03-03 00:10:02 main:188 Parameters: {'__doc__': 'Contain default parameters.', 'canonical_pcs': None, 'chunk_overlap': 300, 'chunk_size': 20000, 'connected_component_join_size': 1, 'detect_spikes': 'negative', 'diagnostics_path': None, 'excerpt_size': 20000, 'experiment_name': '/mnt/packrat/userdirs/david/zpool1/DT8/20170229_324um_2088um_merge/8/20170229_324um_2088um_merge_sh8', 'extract_s_after': 16, 'extract_s_before': 16, 'features_contiguous': True, 'filter_butter_order': 3, 'filter_high': 9500.0, 'filter_low': 500.0, 'nbits': 16, 'nchannels': 96, 'nexcerpts': 60, 'nfeatures_per_channel': 6, 'pca_nwaveforms_max': 20000, 'prb_file': '8.prb', 'raw_data_files': ['/mnt/packrat/userdirs/david/zpool1/DT8/20170229_324um_2088um_merge/20170229_324um_2088um_merge.dat'], 'sample_rate': 20000.0, 'save_high': False, 'save_low': False, 'save_raw': False, 'threshold_strong_std_factor': 4.5, 'threshold_weak_std_factor': 2.0, 'use_single_threshold': False, 'voltage_gain': 10.0, 'waveforms_nsamples': 32, 'weight_power': 2} 2017-03-03 00:10:47 main:200 Threshold: DoubleThreshold(strong=array([ 270.16943445, 254.23116024, 272.98411813, 267.21919726, 271.66791338, 269.98243481, 259.86172049, 262.96657783, 268.18163638, 296.03793985, 289.6418967 , 288.75894539, 276.09375672, 282.56296413, 293.88162314, 289.08465966, 302.52126572, 302.33173226, 303.60337193, 246.63857382, 290.67573345, 292.50902596, 286.15067166, 213.59569431, 257.0538937 , 228.14635329, 187.72307234, 189.66929324, 190.84854709, 267.58354954, 288.32316132, 278.59567249, 291.76450917, 303.4920076 , 291.86770684, 293.63778969, 280.37545018, 281.79122317, 283.46990711, 284.07549906, 284.27349329, 289.16746405, 286.22028415, 280.64850712, 292.16585651, 297.81313593, 296.94618859, 292.16921137, 102.18858235, 104.36833882, 104.82986904, 104.70953459, 111.81709946, 103.36403236, 282.54902414, 276.07589517, 284.12399359, 114.32991628, 278.79366118, 286.37507688, 272.9989943 , 118.76001625, 283.70580416, 277.3310907 , 109.565714 , 116.05224565, 121.20950329, 119.83976235, 115.85141738, 116.88860783, 116.73524672, 113.10634625, 114.800365 , 112.63392504, 112.03808649, 109.46696039, 108.80730064, 109.32155377, 106.24473768, 106.81266432, 115.76730792, 113.38552058, 116.20271975, 118.65450277, 117.3309529 , 116.1153518 , 116.33643281, 117.70764326, 116.76273517, 118.34299879, 117.98224029, 120.13700295, 117.26185906, 119.87205875, 105.67724433, 119.07747746]), weak=array([ 120.0753042 , 112.99162677, 121.32627472, 118.76408767, 120.74129484, 119.99219325, 115.494098 , 116.87403459, 119.19183839, 131.57241771, 128.72973187, 128.33730906, 122.70833632, 125.58353961, 130.61405473, 128.48207096, 134.45389587, 134.36965878, 134.93483197, 109.61714392, 129.18921487, 130.00401154, 127.17807629, 94.93141969, 114.24617498, 101.39837924, 83.43247659, 84.29746366, 84.82157649, 118.92602202, 128.14362725, 123.82029888, 129.67311519, 134.88533671, 129.71898082, 130.50568431, 124.61131119, 125.24054363, 125.98662538, 126.25577736, 126.3437748 , 128.51887291, 127.20901518, 124.73266983, 129.85149178, 132.36139375, 131.97608382, 129.85298283, 45.41714771, 46.38592836, 46.59105291, 46.53757093, 49.69648865, 45.93956994, 125.57734406, 122.70039785, 126.27733049, 50.81329613, 123.90829386, 127.27781195, 121.33288635, 52.78222945, 126.09146851, 123.25826253, 48.69587289, 51.57877584, 53.87089035, 53.2621166 , 51.48951884, 51.95049237, 51.88233188, 50.26948722, 51.02238444, 50.05952224, 49.79470511, 48.65198239, 48.35880029, 48.58735723, 47.21988341, 47.47229525, 51.45213685, 50.3935647 , 51.64565322, 52.73533456, 52.14709018, 51.60682302, 51.70508125, 52.31450812, 51.89454896, 52.59688835, 52.43655124, 53.39422353, 52.11638181, 53.27647056, 46.96766415, 52.92332332])) 2017-03-03 00:10:47 logger:175 Traceback (most recent call last): File "/home/david/miniconda/envs/klusta/bin/klusta", line 9, in load_entry_point('klustaviewa==0.3.0', 'console_scripts', 'klusta')() File "/home/david/miniconda/envs/klusta/lib/python2.7/site-packages/klustaviewa-0.3.0-py2.7-linux-x86_64.egg/spikedetekt2/core/script.py", line 303, in main runsd=runsd, runkk=runkk, convert_only=convert_only) File "/home/david/miniconda/envs/klusta/lib/python2.7/site-packages/klustaviewa-0.3.0-py2.7-linux-x86_64.egg/spikedetekt2/core/script.py", line 264, in run_all run_spikedetekt(prm_filename, dir=dir, debug=debug, convert_only=convert_only) File "/home/david/miniconda/envs/klusta/lib/python2.7/site-packages/klustaviewa-0.3.0-py2.7-linux-x86_64.egg/spikedetekt2/core/script.py", line 117, in run_spikedetekt _debug=debug, convert_only=convert_only) File "/home/david/miniconda/envs/klusta/lib/python2.7/site-packages/klustaviewa-0.3.0-py2.7-linux-x86_64.egg/spikedetekt2/core/main.py", line 220, in run chunk_overlap=chunk_overlap,): File "/home/david/miniconda/envs/klusta/lib/python2.7/site-packages/klustaviewa-0.3.0-py2.7-linux-x86_64.egg/kwiklib/dataio/raw.py", line 36, in chunks for recording, data in self.next_recording(): File "/home/david/miniconda/envs/klusta/lib/python2.7/site-packages/klustaviewa-0.3.0-py2.7-linux-x86_64.egg/kwiklib/dataio/raw.py", line 28, in next_recording yield self.recording, self.get_recording_data(self.recording) File "/home/david/miniconda/envs/klusta/lib/python2.7/site-packages/klustaviewa-0.3.0-py2.7-linux-x86_64.egg/kwiklib/dataio/raw.py", line 147, in get_recording_data "").format(f=filename, s=size, c=self.nchannels)) ValueError: Shape error: the file /mnt/packrat/userdirs/david/zpool1/DT8/20170229_324um_2088um_merge/20170229_324um_2088um_merge.dat has S=19852795904 bytes, but there are C=96 channels. C should be a divisor of S. None