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.

The Jupyter widgets need an extra dependency: pip install npc_shields[widgets].

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.17

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.17
File Size Uploaded Provenance Actions
npc_shields-0.1.17.tar.gz 291.6 kB Without provenance Details for npc_shields-0.1.17.tar.gz

Built distribution (wheel)

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

Total release size: 588.2 kB

Release files / npc_shields-0.1.17.tar.gz

Download URL npc_shields-0.1.17.tar.gz
Size 291.6 kB
Tags Source
SHA-256 checksum
How to use checksums
cc8d402b1dda2d7544f96fcaf710f8842b6f810b5576f14b4d50e980893c4371
BLAKE2b-256 checksum
How to use checksums
4a8ba32b2b964416aeb9f8038d402b5c2fe5646c38547297103cc7b681f3ac2d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via pdm/2.29.7 CPython/3.14.4 Linux/7.0.0-1020-azure

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

Download URL npc_shields-0.1.17-py3-none-any.whl
Size 296.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b63d3c76f89f1b778295689f15cf32208a553d7db80395c280bbe520a3410c50
BLAKE2b-256 checksum
How to use checksums
e6edfb3e82e0a43d41c0da2146c6450fa60bbb6e1a32c0917f87a014cdeae290
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via pdm/2.29.7 CPython/3.14.4 Linux/7.0.0-1020-azure

Security for npc_shields 0.1.17

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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