Skip to main content

npc_shields

PyPI Python version

Coverage CI/CD GitHub issues

Tools for Neuropixels probe insertion into SHIELD implants: providing suggested targets, recording actual insertions, storing notes.

Insertion record widget

The main purpose of this repository is to provide a notebook widget for recording the locations of probe insertions during an ecephys experiment:
image

Creating new implant drawings

export 2D view of 3D model

  • get a .sldpart CAD model from MPE
  • open in Solidworks
  • rotate the view to face the top of the implant, matching the view from the rig scope
  • Save As -> .dxf
  • check "current" view only

edit 2D drawing for widget

  • open a copy of one of the existing .svg drawings in Inkscape/Illustrator, to use the same page size and colors
  • add the new .dxf file
  • if the lines are too thick to see any detail, change them to 1pt for now
  • resize the new drawing to fill the page, like the existing drawing
  • with the two drawings side by side, update the new drawing to match:
    • the outline is fragmented and needs to be joined together so a white fill can be applied
    • holes that have straight edges will need joining to be fill-able
    • circular holes should already be fill-able
    • check the CAD model for probe-letter designations (A1, A2, B1, ...)
  • when finished, export as .svg

Metadata

Release files for npc_shields 0.1.15

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for npc_shields 0.1.15
File Size Uploaded
npc_shields-0.1.15.tar.gz 289.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for npc_shields 0.1.15
File Interpreter ABI Platform
npc_shields-0.1.15-py3-none-any.whl Python 3 none any Details

Total release size: 583.5 kB

Release files / npc_shields-0.1.15.tar.gz

Download URL npc_shields-0.1.15.tar.gz
Size 289.1 kB
Tags Source
SHA-256 checksum
How to use checksums
a95476ec2d46beaad1be309e44228ac46cb0a36e75acfbea60481d8b595f076a
BLAKE2b-256 checksum
How to use checksums
7a5a3c5a252b702bf3fa05be45f4cee38d6bb34ec845edd04eb70abc2870ea1e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via pdm/2.26.6 CPython/3.12.3 Linux/6.14.0-1017-azure

Release files / npc_shields-0.1.15-py3-none-any.whl

Download URL npc_shields-0.1.15-py3-none-any.whl
Size 294.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ba9624a12e10630e886168f288f8a890eb3c951c1a562da8beb8563876629a37
BLAKE2b-256 checksum
How to use checksums
d70a7bc543af98e1e4c241b571e847afd078cc004b6b3f505b278ff726fc9336
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via pdm/2.26.6 CPython/3.12.3 Linux/6.14.0-1017-azure

Release history Release notifications | RSS feed

This release

0.1.15 This release

2 release files

0.1.11

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page