Skip to content

update optical stim node to latest#145

Merged
gilbert-sci merged 1 commit intomainfrom
ns/optical_stim
Jul 31, 2025
Merged

update optical stim node to latest#145
gilbert-sci merged 1 commit intomainfrom
ns/optical_stim

Conversation

@slagernate
Copy link
Copy Markdown
Contributor

Summary

Allows for handling of pixel16k / optical stimulation node device configurations. E.g.:

{
  "nodes": [
    {
      "type": "kOpticalStimulation",
      "id": 1,
      "optical_stimulation": {
        "peripheral_id": 3,
        "pixel_mask": [],
        "bit_width": 8,
        "frame_rate": 1,
        "gain": 1.0,
        "send_receipts": false
      }
    }
  ],
  "connections": []
}

@slagernate slagernate requested a review from gilbert-sci July 30, 2025 22:15
@slagernate slagernate self-assigned this Jul 30, 2025
@slagernate slagernate requested a review from namthor9 July 30, 2025 22:18
@gilbert-sci
Copy link
Copy Markdown
Contributor

This worked for me:

~/workspace/sci/synapse-python ns/optical_stim 6s
.venv ❯ python3 synapse/cli/__main__.py -u "hello" configure ~/Downloads/config_1\ \(1\).json
Configuring device with the following configuration:
nodes {
  type: kOpticalStimulation
  id: 1
  optical_stimulation {
    peripheral_id: 101
    bit_width: 8
    frame_rate: 1
    gain: 1
  }
}

@gilbert-sci gilbert-sci merged commit 4078702 into main Jul 31, 2025
1 check passed
@gilbert-sci gilbert-sci deleted the ns/optical_stim branch July 31, 2025 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants