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

Idea: Make a neuropixels-toolkit namespace so it can play well with others #15

Open
stevevanhooser opened this issue Dec 24, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@stevevanhooser
Copy link
Collaborator

Suggestion:

Make a namespace for neuropixels-toolkit, such as nptk.

To do this, you'd put your code files in directories that begin with a +.

For example:

src/+nptk/+recording
src/+npkt/+sorter
src/+npkt/+util

Then you'd call them with the name space

recording = nptk.recording.read_recording(data_file_path)
sorter = npkt.sorter.initial_folder(fpath)

With the name space, it does not matter if someone else makes a class or a variable called sorter. Your code will still work.

@stevevanhooser stevevanhooser added the enhancement New feature or request label Dec 24, 2024
@vijayiyer05
Copy link
Collaborator

I like this idea a lot, and at same time realize this would then be a moment to dwell some on the name.
My head isn't exactly in that place at the moment, but I'm generally inclined towards something in the "neural probe pipeline" direction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants