2017-03-03 00:09:34 main:187 Starting SpikeDetekt version 0.3.0 on 2017-03-03 00:09:34 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/6/20170229_324um_2088um_merge_sh6', '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': '6.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:20 main:200 Threshold: DoubleThreshold(strong=array([ 265.19503621, 250.14223626, 266.59393366, 261.71900555, 266.22487218, 264.20160597, 255.29248813, 259.08231331, 262.88215318, 291.29202164, 284.76955268, 283.453829 , 270.33038493, 277.65268994, 289.18345934, 285.36402117, 297.61776919, 297.4392747 , 298.01681841, 242.16210256, 285.77550709, 287.46157209, 279.42746747, 209.08242039, 252.74145154, 224.07510506, 183.97369762, 185.74612537, 187.69298083, 262.989247 , 282.84989728, 273.25277897, 289.31796352, 302.11484517, 289.80809069, 291.44794492, 278.94893705, 279.35888378, 280.67398984, 282.31838195, 281.97334974, 287.65630719, 283.91768888, 278.16042341, 290.43151132, 295.31709001, 295.86829096, 289.77765844, 100.21699332, 102.82898386, 102.46997884, 102.78654635, 109.85585843, 101.39025322, 279.98573334, 273.18017038, 281.28333808, 112.21342543, 275.68827142, 283.8971887 , 270.4448456 , 117.03630952, 280.85361816, 274.45205911, 107.77907659, 114.16528986, 120.28281428, 118.10587225, 114.2823302 , 115.15973083, 115.31740911, 111.22941535, 112.402497 , 110.71503855, 110.15847555, 107.6477427 , 107.0252768 , 107.33667064, 104.41915075, 105.40570575, 113.65822944, 111.8215551 , 114.87728378, 117.95324027, 115.87647284, 115.06346376, 115.52649596, 116.56168754, 115.86317414, 117.14389952, 116.88204213, 118.82481529, 115.82811026, 118.55697228, 105.57601066, 117.49572081]), weak=array([ 117.86446054, 111.17432723, 118.48619274, 116.31955802, 118.32216541, 117.42293599, 113.46332806, 115.14769481, 116.83651253, 129.46312073, 126.56424564, 125.97947956, 120.14683775, 123.40119553, 128.52598193, 126.82845385, 132.27456409, 132.1952332 , 132.45191929, 107.62760114, 127.01133648, 127.76069871, 124.18998554, 92.92552017, 112.32953402, 99.58893558, 81.76608783, 82.5538335 , 83.41910259, 116.88410978, 125.71106546, 121.44567954, 128.58576156, 134.27326452, 128.80359586, 129.53241997, 123.97730536, 124.1595039 , 124.74399548, 125.47483642, 125.32148877, 127.84724764, 126.1856395 , 123.62685485, 129.0806717 , 131.25204001, 131.4970182 , 128.79007042, 44.54088592, 45.7017706 , 45.54221282, 45.68290949, 48.82482597, 45.06233476, 124.43810371, 121.41340906, 125.01481692, 49.87263352, 122.52812063, 126.17652831, 120.19770916, 52.01613756, 124.82383029, 121.97869294, 47.90181182, 50.74012883, 53.45902857, 52.49149878, 50.79214676, 51.18210259, 51.25218183, 49.43529571, 49.95666533, 49.2066838 , 48.95932247, 47.8434412 , 47.56678969, 47.70518695, 46.40851145, 46.84698033, 50.51476864, 49.69846893, 51.05657057, 52.42366234, 51.5006546 , 51.13931723, 51.34510932, 51.80519446, 51.49474406, 52.06395534, 51.94757428, 52.81102902, 51.47916011, 52.69198768, 46.92267141, 52.22032036])) 2017-03-03 00:10:20 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=19067305984 bytes, but there are C=96 channels. C should be a divisor of S. None