GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [Question] Multiple receptors for a single neuron · Issue #707 · brainpy/BrainPy

[Question] Multiple receptors for a single neuron #707

New issue
Copy link
New issue
Copy link
Open
Open
[Question] Multiple receptors for a single neuron#707
Copy link
Labels
enhancementNew feature or request

Description

@alexfanqi
alexfanqi
opened on Dec 15, 2024
Issue body actions

Please:

  • Check for duplicate requests.
  • Describe your goal, and if possible provide a code snippet with a motivating example.

Hi,

I would like to model a neuron that has a fixed number of receptors with same synaptic dynamics model, but different parameters. These receptors are AlignPost. I considered splitting out connection matrix for each receptor, or alternatively having dummy neuron groups. But they seem less convenient. So right now, I flatten out receptors and post neurons, and use something like this,

class CUBAMultiReceptor(bp.dyn.CUBA):
    def __init__(
        self,
        n_receptors: int = 1,
        name: Optional[str] = None,
        scaling: Optional[bm.Scaling] = None,
    ):
        super().__init__(name=name, scaling=scaling)
        self.n_receptors = n_receptors

    def update(self, conductance, potential=None):
        conductance = super().update(conductance, potential)
        return bm.ein_reduce(
            conductance,
            "... (neuron receptor) -> ... neuron",
            receptor=self.n_receptors,
            reduction="sum",
        )

This will require STDP_Song2000 to be modified accordingly to propagate post spikes. I wonder if there are better solutions?

Activity

  1. alexfanqi
    added
    enhancementNew feature or request
    on Dec 15, 2024
  2. alexfanqi commented on Dec 15, 2024

    @alexfanqi
    alexfanqi
    on Dec 15, 2024
    Author
    More actions

    Maybe another question, are there ways to let two Projections use the same instance of SynOut and SynDyn? ie two current=comm(pre) within different Projections go into same SynDyn instance.

  3. alexfanqi
    changed the title [-]Multiple receptors for a single neuron[/-] [+][Question] Multiple receptors for a single neuron[/+] on Dec 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.