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

Synthetic data generation #2

Open
berkgercek opened this issue May 2, 2022 · 0 comments
Open

Synthetic data generation #2

berkgercek opened this issue May 2, 2022 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@berkgercek
Copy link
Member

Some functionality for synthetic data generation already exists in the prior localization repository in synth.py and glm_predict.py.

These should be reorganized in a sensible way to:

  1. Generate predicted spike counts in bins from a new design matrix with the same covariates, or a subset of the existing design matrix, using a nglm.predict() method.

  2. Decompose PETHs into their subcomponents contributed by each kernel

  3. Optionally generate totally synthetic spike times, which is harder especially if you want to randomize when the spike occurs within a bin. This could be useful for testing other data analysis methods or pipelines.

  4. and 2. are high-priority and low-hanging fruit given that the primitives for 1. exist in sklearn and the code for 2. has already been written. They just need to be adapted.

@berkgercek berkgercek added the enhancement New feature or request label May 2, 2022
@berkgercek berkgercek added this to the 1.0.0 milestone May 2, 2022
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

1 participant