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

Confusing time stamps in TemporalFilter imshow function #370

Open
weiwei2027 opened this issue Jun 4, 2024 · 0 comments
Open

Confusing time stamps in TemporalFilter imshow function #370

weiwei2027 opened this issue Jun 4, 2024 · 0 comments

Comments

@weiwei2027
Copy link

weiwei2027 commented Jun 4, 2024

Hello, maintainers, thank you for contributing this great work to BMTK.
I have some questions that I would like to ask for help. When I refer to the document (https://alleninstitute.github.io/bmtk/tutorial_filter_models.html) to learn how to use the filter model, I find that the timestamps displayed by the TemporalFilter imshow function are confusing. There are two graphs with similar response characteristics but different timestamps, and the one generated by the BMTK code is probably the wrong one because the response characteristics are even less similar to those in the paper.

paper

Durand, S., Iyer, R., Mizuseki, K., Vries, S. de, Mihalas, S., & Reid, R. C. (2016). A Comparison of Visual Response Properties in the Lateral Geniculate Nucleus and Primary Visual Cortex of Awake and Anesthetized Mice. Journal of Neuroscience, 36(48), 12144–12156. https://doi.org/10.1523/JNEUROSCI.1741-16.2016
image

Reproduce code

from bmtk.simulator.filternet.lgnmodel.temporalfilter import TemporalFilterCosineBump
tf = TemporalFilterCosineBump(weights=[30, -20], kpeaks=[50, 100],  delays=[0.0, 0.0])
tf.imshow()

image

Question

Is this a bug, should I use negative values ​​for timestamps?

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

1 participant