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

Feature request: source extraction for calcium images #76

Open
mpmbq2 opened this issue Mar 8, 2018 · 1 comment
Open

Feature request: source extraction for calcium images #76

mpmbq2 opened this issue Mar 8, 2018 · 1 comment

Comments

@mpmbq2
Copy link

mpmbq2 commented Mar 8, 2018

Currently neuroglia's calcium module works with extracted fluorescence traces. It would be useful to integrate the ability to extract fluorescence traces for downstream processing.
This could look something like:

from dask.array.image import imread
from neuroglia.calcium import SourceExtraction

image = imread('image.tif')
se = SourceExtraction(method='some_method', *args, **kwargs)

fluorescence_traces = se.transform(image)

Some libraries already exist for this (SIMA, CaImAn, Thunder), but an integrated solution with a consistent API would allow for more efficient processing. Which algorithms to use and how to implement or wrap them are up for discussion. Dask is used in the example above because it would support both in-memory processing of small images and out-of-memory processing of large images, and because it integrates naturally with xarray for downstream analysis.

@mochic
Copy link
Collaborator

mochic commented Apr 20, 2018

ill try to look into this when we have the repo in a more stable state
what do you think @neuromusic ?

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

2 participants