{"action":"created","issue":{"url":"https://api.github.com/repos/gentnerlab/klusta-pipeline/issues/29","repository_url":"https://api.github.com/repos/gentnerlab/klusta-pipeline","labels_url":"https://api.github.com/repos/gentnerlab/klusta-pipeline/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/gentnerlab/klusta-pipeline/issues/29/comments","events_url":"https://api.github.com/repos/gentnerlab/klusta-pipeline/issues/29/events","html_url":"https://github.com/gentnerlab/klusta-pipeline/issues/29","id":162204508,"number":29,"title":"write to dat instead of raw.kwd","user":{"login":"neuromusic","id":1245615,"avatar_url":"https://avatars.githubusercontent.com/u/1245615?v=3","gravatar_id":"","url":"https://api.github.com/users/neuromusic","html_url":"https://github.com/neuromusic","followers_url":"https://api.github.com/users/neuromusic/followers","following_url":"https://api.github.com/users/neuromusic/following{/other_user}","gists_url":"https://api.github.com/users/neuromusic/gists{/gist_id}","starred_url":"https://api.github.com/users/neuromusic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neuromusic/subscriptions","organizations_url":"https://api.github.com/users/neuromusic/orgs","repos_url":"https://api.github.com/users/neuromusic/repos","events_url":"https://api.github.com/users/neuromusic/events{/privacy}","received_events_url":"https://api.github.com/users/neuromusic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-06-24T18:31:04Z","updated_at":"2016-06-24T18:32:39Z","closed_at":null,"body":"this will be to support the latest version of klusta\r\n\r\n## expected use\r\nadd another argument to the command line, e.g. `--format=dat` or `--format=kwd` where kwd is default for backwards compatibility\r\n\r\n## expected outputs\r\n- new prm file format (see http://phy.cortexlab.net/data/samples/hybrid_10sec.prm)\r\n- channels in dat file\r\n\r\n## uncertainty\r\nhow should we manage multiple recordings? klusta doesn't support them, so should we manually append?"},"comment":{"url":"https://api.github.com/repos/gentnerlab/klusta-pipeline/issues/comments/228424806","html_url":"https://github.com/gentnerlab/klusta-pipeline/issues/29#issuecomment-228424806","issue_url":"https://api.github.com/repos/gentnerlab/klusta-pipeline/issues/29","id":228424806,"user":{"login":"neuromusic","id":1245615,"avatar_url":"https://avatars.githubusercontent.com/u/1245615?v=3","gravatar_id":"","url":"https://api.github.com/users/neuromusic","html_url":"https://github.com/neuromusic","followers_url":"https://api.github.com/users/neuromusic/followers","following_url":"https://api.github.com/users/neuromusic/following{/other_user}","gists_url":"https://api.github.com/users/neuromusic/gists{/gist_id}","starred_url":"https://api.github.com/users/neuromusic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neuromusic/subscriptions","organizations_url":"https://api.github.com/users/neuromusic/orgs","repos_url":"https://api.github.com/users/neuromusic/repos","events_url":"https://api.github.com/users/neuromusic/events{/privacy}","received_events_url":"https://api.github.com/users/neuromusic/received_events","type":"User","site_admin":false},"created_at":"2016-06-24T18:32:39Z","updated_at":"2016-06-24T18:32:39Z","body":"here's the prm format\r\n```\r\n\r\nexperiment_name = 'hybrid_10sec'\r\nprb_file = '1x32_buzsaki'\r\n\r\ntraces = dict(\r\n    raw_data_files=[experiment_name + '.dat'],\r\n    voltage_gain=10.,\r\n    sample_rate=20000,\r\n    n_channels=32,\r\n    dtype='int16',\r\n)\r\n\r\nspikedetekt = dict(\r\n    filter_low=500.,  # Low pass frequency (Hz)\r\n    filter_high_factor=0.95 * .5,\r\n    filter_butter_order=3,  # Order of Butterworth filter.\r\n\r\n    filter_lfp_low=0,  # LFP filter low-pass frequency\r\n    filter_lfp_high=300,  # LFP filter high-pass frequency\r\n\r\n    chunk_size_seconds=1,\r\n    chunk_overlap_seconds=.015,\r\n\r\n    n_excerpts=50,\r\n    excerpt_size_seconds=1,\r\n    threshold_strong_std_factor=4.5,\r\n    threshold_weak_std_factor=2.,\r\n    detect_spikes='negative',\r\n\r\n    connected_component_join_size=1,\r\n\r\n    extract_s_before=16,\r\n    extract_s_after=16,\r\n\r\n    n_features_per_channel=3,  # Number of features per channel.\r\n    pca_n_waveforms_max=10000,\r\n)\r\n\r\nklustakwik2 = dict(\r\n    num_starting_clusters=100,\r\n)\r\n```\r\n\r\nnote: it looks like they will take multiple dat files, so we could dump each \"recording\" to it's own dat? I guess? need to see how the new version of klusta is handling this"}}
{"actor":{"display_login":"neuromusic"}}