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: operating extraction on cropped region #1098

Closed
jingxuanf0214 opened this issue Feb 24, 2024 · 2 comments
Closed

FEATURE: operating extraction on cropped region #1098

jingxuanf0214 opened this issue Feb 24, 2024 · 2 comments
Assignees

Comments

@jingxuanf0214
Copy link

Feature you'd like to see:

I am not sure if this can be done now, so if it already has I would also love to know how to access it. Basically, I am working in fruit fly system. The kind of 2p imaging data we get is not signals filled in whole field of view (filling the square for example). So my image looks like a bright region of structure on a black background. And if I just input this image for extraction it finds a lot of rois in the background.
Screen Shot 2024-02-23 at 11 49 07 PM

Attempted alternative approaches:

I haven't tried intensively. I think I could crop to small pieces by hand and run on each pieces. But I think it would be nice to be integrated in a pipeline.

Additional Context

No response

@chriski777 chriski777 self-assigned this Mar 17, 2024
@chriski777
Copy link
Collaborator

Hi @jingxuanf0214, I'm not sure I understand what your request is. When you use suite2p, the pipeline should perform the extraction on all of the ROIs you've enclosed in the rectangle as long as suite2p identifies them as ROIs. You can access them by getting the ROI numbers for the ROIs in the rectangle you made. You should then be able to find the corresponding fluorescence traces and spikes for these ROIs in the F.npy and spks.npy files, respectively.

@chriski777
Copy link
Collaborator

Closed due to inactivity. Feel free to reopen if your question hasn't been answered @jingxuanf0214!

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