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

Out of memory error when processing fluorescent traces #8

Open
gg9761 opened this issue May 16, 2019 · 2 comments
Open

Out of memory error when processing fluorescent traces #8

gg9761 opened this issue May 16, 2019 · 2 comments

Comments

@gg9761
Copy link

gg9761 commented May 16, 2019

I have been trying to run a large data set through process fluorescent traces (243 cells, 25-30 min timelapse), but keep getting the out of memory error in matlab. About 5 mins into step 3.1 estimating noise model, the RAM is maxed out (see attached picture). The computer I'm using has 48GB RAM, I have also tried using another computer with more RAM and get similar out of memory issues in matlab.
Any suggestions on how to solve this problem would be much appreciated.

5 mins
frozen at 6 mins

@ElTinmar
Copy link

Hi, this is caused by the density estimation procedure when you have outliers in the data. This could be due to weird/abrupt changes in DF/F values in the data caused by movements/ artifacts in the time series. More specifically, the programs tries to create a gaussian filter whose size is too large for the memory, because the variable binSpread is too big. One workaround is too check the DF/F values and remove outliers (DF/F >5 or more is suspicious)

@sebromano
Copy link
Collaborator

ElTinmar is right, these errors are the result of imaging frames with movement artifacts that lead to large deviations in DF/F. Right now the solution is to identify these frames and remove them. We are working on a solution to handle these situations.

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

3 participants