Code Monkey home page Code Monkey logo

Comments (6)

davidmeunier79 avatar davidmeunier79 commented on September 7, 2024

Yes it seems fair, I do not remember where all these functions came from, but I believe they were related to the origin of the matlab timeseries or matrix, i.e. depending on how they were calculated.

  • import_mat_to_conmat means the matlab file already contains a matrix, computed outside (with brainstorm or else)

  • import_mat_to_conmat is when the "good channels" is a field within the matlab structure

  • import_amplmat_to_ts is the same as _import_mat_to_ts it seems, so can be removed

  • import_mat_to_ts seems a bit different, as the 'good_channels is based on the name of the strings in channel_names (EMG_ and EOG), I do not remember when it is used.

I have remove import_amplmat_to_ts, and merged import_mat_to_ts with _import_mat_to_ts (not implemented for the node, however...). I have renamed import_mat_to_conmat -> _import_mat_to_conmat and kept it, but is not used in node structure yet.

PR is here: #83

from ephypype.

davidmeunier79 avatar davidmeunier79 commented on September 7, 2024

On a side note: isn't it better to have a directory tests in each of the subdirectories where the tests functions or nodes are?

from ephypype.

annapasca avatar annapasca commented on September 7, 2024

Yes it seems fair, I do not remember where all these functions came from, but I believe they were related to the origin of the matlab timeseries or matrix, i.e. depending on how they were calculated.

* import_mat_to_conmat means the matlab file already contains a matrix, computed outside (with brainstorm or else)

* import_mat_to_conmat is when the "good channels" is a field within the matlab structure

* import_amplmat_to_ts is the same as _import_mat_to_ts it seems, so can be removed

* import_mat_to_ts seems a bit different, as the 'good_channels is based on the name of the strings in channel_names (EMG_ and EOG), I do not remember when it is used.

I have remove import_amplmat_to_ts, and merged import_mat_to_ts with _import_mat_to_ts (not implemented for the node, however...). I have renamed import_mat_to_conmat -> _import_mat_to_conmat and kept it, but is not used in node structure yet.

PR is here: #83

Hi David,

yes, I also thought it was something related to some thing of the past.
Thks for the PR.

I have some comments I'll write there.

from ephypype.

annapasca avatar annapasca commented on September 7, 2024

On a side note: isn't it better to have a directory tests in each of the subdirectories where the tests functions or nodes are?

Absolutely yes! in #81 I put the test of nodes, interfaces in the a folder "tests" that is a subdir of nodes, interfaces, ...

from ephypype.

davidmeunier79 avatar davidmeunier79 commented on September 7, 2024

On a side note: isn't it better to have a directory tests in each of the subdirectories where the tests functions or nodes are?

Absolutely yes! in #81 I put the test of nodes, interfaces in the a folder "tests" that is a subdir of nodes, interfaces, ...

OK I will do a merge of this version once accepted, and hopefully if will the coverage issue in #83

from ephypype.

annapasca avatar annapasca commented on September 7, 2024

close in #83

from ephypype.

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.