Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added 20251031-180550_fsgui_log.h5
Binary file not shown.
Binary file added 20251106-191542_fsgui_log.h5
Binary file not shown.
96 changes: 36 additions & 60 deletions config.yaml
Original file line number Diff line number Diff line change
@@ -1,61 +1,37 @@
nodes:
- type_id: trodes-linearized-binned-camera-type
instance_id: 47ecacbc-5419-11ee-9d4c-3cecefb199de
nickname: Linearized binned Trodes camera
track_linearization:
filename: /home/lorenlab/Documents/Trodes_stuff/geometries/maze_linear.trackgeometry
segments:
- !!python/tuple
- 0
- 0
- !!python/tuple
- 0
- 0
- !!python/tuple
- 0
- 0
- !!python/tuple
- 0
- 0
- !!python/tuple
- 0
- 0
- !!python/tuple
- 0
- 0
- !!python/tuple
- 0
- 0
- !!python/tuple
- 0
- 0
- type_id: trodes-spike-data-type
instance_id: 5d646f30-5419-11ee-9d4c-3cecefb199de
nickname: Trodes Spikes
voltage_scaling_factor: 0.195
- type_id: trodes-lfp-data-type
instance_id: dde105ce-5419-11ee-9d4c-3cecefb199de
nickname: Trodes LFP
- type_id: ripple-new-filter-type
instance_id: d2360494-541a-11ee-9d4c-3cecefb199de
nickname: Ripple filter (new)
source_id: dde105ce-5419-11ee-9d4c-3cecefb199de
num_signals: 64
bp_order: 2
bp_crit_freqs_low: 150
bp_crit_freqs_high: 250
lfp_sample_rate: 1500
env_num_taps: 13
env_band_edges_low: 50
env_band_edges_high: 55
sd_threshold: 3.5
n_above_threshold: 1
tetrode_selection:
is_include: true
tetrodes:
- 0
- 1
- 31
- 62
update_mean_sd: true
display_channel: 1
- type_id: trodes-camera-data-type
instance_id: cb37189e-bc24-11f0-91ca-a0369f6f691e
nickname: Trodes Camera
- type_id: geometry-filter-type
instance_id: d21a00a4-bc24-11f0-91ca-a0369f6f691e
nickname: Geometry filter
source_id: null
trackgeometry:
filename: /home/xulu/Xulu/Behavior/Geometry/for_sleepbox_recording.trackgeometry
zone_id: 2
cameraWidth: 1000
cameraHeight: 995
- type_id: trodes-digital-pulse-action-type
instance_id: d896866e-bc24-11f0-91ca-a0369f6f691e
nickname: Digital Pulsetrain
trigger_id:
id: d5b04c5a-bc24-11f0-91ca-a0369f6f691e
data:
label: Geometry filter
type: filter
value: d21a00a4-bc24-11f0-91ca-a0369f6f691e
children: []
condition_id: null
pulseLength: 1
nPulses: 1
preDelay: 0
sequencePeriod: 100
nOutputTrains: 1
trainInterval: 1000
primaryBit: 1
lockout_time: 0
functNum: 0
action_enabled: true
off_when_false: false
delay_enabled: true
reward_based_trigger_enabled: false
7 changes: 4 additions & 3 deletions fsgui/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,21 @@
import fsgui.config
import fsgui.filter
import fsgui.simulation
import fsgui.spikegadgets.trodes as trodes
import fsgui.spikegadgets
import qtapp
import qtgui

if __name__ == "__main__":
try:
args = fsgui.spikegadgets.trodes.TrodesSpawnArgParser().parse_args(sys.argv)
network = fsgui.spikegadgets.trodes.TrodesNetworkLocation(
args = trodes.TrodesSpawnArgParser().parse_args(sys.argv)
network = trodes.TrodesNetworkLocation(
args['serverAddress'],
args['serverPort']
)
except Exception as e:
logging.warning('command line arguments were not found, using default network location')
network = fsgui.spikegadgets.trodes.TrodesNetworkLocation("tcp://127.0.0.1", 49152)
network = trodes.TrodesNetworkLocation("tcp://127.0.0.1", 49152)

qtgui.run_qt_app(functools.partial(
qtapp.window.FSGuiWindow,
Expand Down
4 changes: 2 additions & 2 deletions fsgui/filter/lfp/ripple_new.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def write_template(self, config = None):
'upper': 200,
'units': 'power',
'decimals': 2,
'default': 0,
'default': config['means_magic_input'],
'tooltip': 'Hard coded ripple LFP mean, used for mean + threshold * sd',
'live_editable': True,
},
Expand All @@ -165,7 +165,7 @@ def write_template(self, config = None):
'upper': 200,
'units': 'power',
'decimals': 2,
'default': 0,
'default': config['sigmas_magic_input'],
'tooltip': 'Hard coded ripple LFP sd, used for mean + threshold * sd',
'live_editable': True,
},
Expand Down
4 changes: 2 additions & 2 deletions fsgui/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def __init__(self, location=None):
self._sock.bind(location)
self._location = location
else:
self._sock.bind_to_random_port('tcp://0.0.0.0')
self._sock.bind_to_random_port('tcp://127.0.0.1')
self._location = self._sock.get_string(zmq.LAST_ENDPOINT)

def send(self, data):
Expand Down Expand Up @@ -41,4 +41,4 @@ def recv(self, timeout=None):
assert mask == 1
return sock.recv_json()
else:
return None
return None
Loading