Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

channel index of NP 2.0 4-shank file #132

Closed
Jiachen24 opened this issue Jan 16, 2025 · 2 comments
Closed

channel index of NP 2.0 4-shank file #132

Jiachen24 opened this issue Jan 16, 2025 · 2 comments
Assignees

Comments

@Jiachen24
Copy link

Hello @mayofaulkner ! I am following up on the channel index of 4-shank NP 2.0 in file "channel_locations_shank1.json". All channels on individual shanks are indexed from 0 to 95. I couldn't find abovementioned additional key that reflects the actual channel index from the recording. This is mentioned in a closed issue as well #48

Image

@mayofaulkner
Copy link
Contributor

Hello,

I've made a change #133 such that the original channel index is now stored in the channels.location.json file e.g

{
  "channel_0": {
    "x": -191.9121944991095,
    "y": 2213.186990831849,
    "z": -4259.263416502671,
    "axial": -15.0,
    "lateral": 468.0,
    "brain_region_id": 814,
    "brain_region": "DP",
    "original_channel_idx": 240
  },
  "channel_1": {
    "x": -191.9121944991095,
    "y": 2213.186990831849,
    "z": -4259.263416502671,
    "axial": -15.0,
    "lateral": 500.0,
    "brain_region_id": 814,
    "brain_region": "DP",
    "original_channel_idx": 241
  },...

Please can you pull/ install the latest changes from the master branch of iblapps.

Let me know if you run into any problems

@Jiachen24
Copy link
Author

Hi! Now it works well and returns the original channel index! Thank you so much for your time. This is a great tool!

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

No branches or pull requests

2 participants