Git Product home page Git Product logo

Comments (5)

bahanonu avatar bahanonu commented on June 12, 2024

@zhoupc

get_data_dimension.m throws an error for a 3D ([x y frames]) HDF5 movie saved using Matlab's H5 IO functions at line https://github.com/zhoupc/CNMF_E/blob/master/ca_source_extraction/endoscope/get_data_dimension.m#L35.

If I change dims = temp([2, 3, 5]); to dims = temp; CNMF-E runs fine on all the movies I've tested on. Might want to add a check for cases in which people have HDF5s saved as I do.

from cnmf_e.

zhoupc avatar zhoupc commented on June 12, 2024

thanks, good catch. the first bug is fixed.

as for the second bug, i don't have a good solution yet. it seems that different groups have different format of saving hdf5 files. i guess the hdf5 file i have was saved as [channel, x, y, z, frames].

you can use use your current solution to solve the problem. in the meanwhile, i will also think about a robust solution to this issue.

from cnmf_e.

bahanonu avatar bahanonu commented on June 12, 2024

Sounds good, thanks.

re: second issue, could potentially have users input a vector as an option indicating the 3 relevant dimensions to make 3D [x y frames] matrix for CNMF-E to analyze. e.g hdf5Dims = [2 3 5];' for [channel, x, y, z, frames]saved files orhdf5Dims = [1 2 3];' for [x y frames] saved files.

from cnmf_e.

bahanonu avatar bahanonu commented on June 12, 2024

@zhoupc
The bug for
https://github.com/zhoupc/CNMF_E/blob/master/ca_source_extraction/endoscope/get_data_dimension.m#L35
is still not fixed. Makes it hard to integrate into other pipelines when users need to clone from your repository.

from cnmf_e.

bahanonu avatar bahanonu commented on June 12, 2024

@zhoupc
In line: https://github.com/zhoupc/CNMF_E/blob/master/ca_source_extraction/%40Sources2D/set_parameters.m#L99

I assume should say min_corr instead of min_pnr? e.g. fprintf('\tmin_corr stands for minimum local correlation. \n');

from cnmf_e.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.