Skip to content

Commit

Permalink
realtime decoder code
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelCoulter committed Apr 25, 2024
0 parents commit 8d928c4
Show file tree
Hide file tree
Showing 161 changed files with 84,391 additions and 0 deletions.
156 changes: 156 additions & 0 deletions config/20191026_roquefort_no_run_grennflash.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,156 @@
{
"datasource": "trodes",


"rank": {
"supervisor": 0,
"decoder": 1,
"ripples": [2,3,4,5,6],
"encoders": [7,8,9,10,11]
},

"rank_settings": {
"enable_rec": [10],
"enable_profiler": [0,1,2,3,4,5,6,7,8,9,10,11]
},

"files": {
"output_dir": "/mnt/vortex/mcoulter/spykshrk_realtime/roqui_binary_rec/",
"prefix": "20191025_roquefort_RT_02_r2",
"rec_postfix": "bin_rec",
"profile_postfix": "pstats",
"timing_postfix": "timing",
"backup_dir": "/mnt/vortex/mcoulter/spykshrk_realtime/roqui_binary_rec/databackup/"
},

"trodes": {
"voltage_scaling_factor": 0.195
},

"ripple": {
"RippleParameterMessage": {
"rip_coeff1": 1.2,
"rip_coeff2": 0.2,
"ripple_threshold": 4,
"samp_divisor": 10000,
"n_above_thresh": 2,
"lockout_time": 150,
"detect_no_ripples": false,
"detect_no_ripple_time": 60000,
"dio_gate": false,
"dio_gate_port": -1,
"enabled": true,
"use_custom_baseline": true,
"update_custom_baseline": false
},
"CustomRippleBaselineMeanMessage": {
"1": 12000,
"2": 30,
"3": 30,
"4": 12000,
"5": 12000,
"6": 12000,
"7": 12000,
"8": 12000,
"9": 12000,
"10": 12000,
"11": 12000,
"12": 12000,
"13": 12000,
"14": 12000,
"15": 12000,
"16": 12000,
"17": 12000,
"18": 12000,
"19": 30,
"20": 12000,
"21": 12000,
"22": 30,
"23": 12000,
"24": 12000,
"25": 12000,
"26": 12000,
"27": 12000,
"28": 30,
"29": 12000,
"30": 12000
},
"CustomRippleBaselineStdMessage": {
"1": 12000,
"2": 20,
"3": 20,
"4": 12000,
"5": 12000,
"6": 12000,
"7": 12000,
"8": 12000,
"9": 12000,
"10": 12000,
"11": 12000,
"12": 12000,
"13": 12000,
"14": 12000,
"15": 12000,
"16": 12000,
"17": 12000,
"18": 12000,
"19": 20,
"20": 12000,
"21": 12000,
"22": 20,
"23": 12000,
"24": 12000,
"25": 12000,
"26": 12000,
"27": 12000,
"28": 20,
"29": 12000,
"30": 12000
}
},

"encoder": {
"sampling_rate": 30000,
"mark_kernel": {
"mean": 0,
"std": 20,
"lower": -1024,
"upper": 1024,
"interval": 1
},
"RStar_edge_length_factor": 3,

"position": {
"lower": 0,
"upper": 73,
"bins": 73,
"arm_pos": [[0, 72]]
},
"position_kernel": {
"std": 5
},
"vel": 25,
"spk_amp": 70
},

"decoder": "pp_decoder",

"bayesian_decoder": {
"bin_size": 30000
},

"pp_decoder": {
"bin_size": 150,
"trans_mat_uniform_gain": 0.0001,
"trans_mat_smoother_std": 3,
"replay_target_arm": 1

},

"trodes_network": {
"address" : "tcp://192.168.10.1",
"port": 12001,
"decoding_tetrodes": [1,2,5,6,7],
"ripple_tetrodes": [2,3,19,22,28]
}
}
156 changes: 156 additions & 0 deletions config/20191027_roquefort_grennflash.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,156 @@
{
"datasource": "trodes",


"rank": {
"supervisor": 0,
"decoder": 1,
"ripples": [2,3,4,5,6],
"encoders": [7,8,9,10,11]
},

"rank_settings": {
"enable_rec": [0,1,2,3,4,5,6,7,8,9,10,11],
"enable_profiler": [0,1,2,3,4,5,6,7,8,9,10,11]
},

"files": {
"output_dir": "/mnt/vortex/mcoulter/spykshrk_realtime/roqui_1027_binary_records/",
"prefix": "20191027_roquefort_RT_03_r1",
"rec_postfix": "bin_rec",
"profile_postfix": "pstats",
"timing_postfix": "timing",
"backup_dir": "/mnt/vortex/mcoulter/spykshrk_realtime/roqui_1027_binary_records/databackup/"
},

"trodes": {
"voltage_scaling_factor": 0.195
},

"ripple": {
"RippleParameterMessage": {
"rip_coeff1": 1.2,
"rip_coeff2": 0.2,
"ripple_threshold": 4,
"samp_divisor": 10000,
"n_above_thresh": 2,
"lockout_time": 150,
"detect_no_ripples": false,
"detect_no_ripple_time": 60000,
"dio_gate": false,
"dio_gate_port": -1,
"enabled": true,
"use_custom_baseline": true,
"update_custom_baseline": false
},
"CustomRippleBaselineMeanMessage": {
"1": 12000,
"2": 30,
"3": 30,
"4": 12000,
"5": 12000,
"6": 12000,
"7": 12000,
"8": 12000,
"9": 12000,
"10": 12000,
"11": 12000,
"12": 12000,
"13": 12000,
"14": 12000,
"15": 12000,
"16": 12000,
"17": 12000,
"18": 12000,
"19": 30,
"20": 12000,
"21": 12000,
"22": 30,
"23": 12000,
"24": 12000,
"25": 12000,
"26": 12000,
"27": 12000,
"28": 30,
"29": 12000,
"30": 12000
},
"CustomRippleBaselineStdMessage": {
"1": 12000,
"2": 20,
"3": 20,
"4": 12000,
"5": 12000,
"6": 12000,
"7": 12000,
"8": 12000,
"9": 12000,
"10": 12000,
"11": 12000,
"12": 12000,
"13": 12000,
"14": 12000,
"15": 12000,
"16": 12000,
"17": 12000,
"18": 12000,
"19": 20,
"20": 12000,
"21": 12000,
"22": 20,
"23": 12000,
"24": 12000,
"25": 12000,
"26": 12000,
"27": 12000,
"28": 20,
"29": 12000,
"30": 12000
}
},

"encoder": {
"sampling_rate": 30000,
"mark_kernel": {
"mean": 0,
"std": 20,
"lower": -1024,
"upper": 1024,
"interval": 1
},
"RStar_edge_length_factor": 3,

"position": {
"lower": 0,
"upper": 73,
"bins": 73,
"arm_pos": [[0, 72]]
},
"position_kernel": {
"std": 5
},
"vel": 25,
"spk_amp": 70
},

"decoder": "pp_decoder",

"bayesian_decoder": {
"bin_size": 30000
},

"pp_decoder": {
"bin_size": 150,
"trans_mat_uniform_gain": 0.0001,
"trans_mat_smoother_std": 3,
"replay_target_arm": 1

},

"trodes_network": {
"address" : "tcp://192.168.10.1",
"port": 12001,
"decoding_tetrodes": [1,2,5,6,7],
"ripple_tetrodes": [2,3,19,22,28]
}
}
25 changes: 25 additions & 0 deletions config/angle_range.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
30
30 2
40 4
20 2
20 2 05
30 2 10
30 2 07
30 2 05
25 2 05
25 3 05
25 3 03
25 4 03
25 5 03
20 5 03
20 3 03
25 5 03
25 3 03
25 3 05
25 2 05
25 3 05
30 2 05
30 2 07
30 2 05
30 2 03
25 2 03
Loading

0 comments on commit 8d928c4

Please sign in to comment.