Code Monkey home page Code Monkey logo

ccep's People

Contributors

dorahermes avatar giuliocastegnaro avatar jaapvanderaar avatar

Stargazers

 avatar

Watchers

 avatar  avatar

ccep's Issues

Bad channel removal and removal of channel specific artifacts

In the master_prepocessCCEP at least the following two issues need to be resolved.

  1. Changing the data of bad channels to NaNs of deleting those channels from data. Most of them are not included in the data, only the channels that are marked as bad by visual inspection in MicroMed in the data

  2. The removal of channel specific artifacts (changing to NaNs). Sometimes multiple channels have the same artifact onset, but a different offset, so this needs to be considered in the code.

ccep/scripts unnecessary files

Some scripts present in the folder script of the ccep directory are not necessary anymore, since all the code needed for each atlas (Destrieux, DKT, Benson and Wang) had been merged into one script (master_lookup_allfouratlases.m).

Adding monophasic analysis to functions/ccep_load_database.m

@GiulioCastegnaro
Because in your analysis F01-F02 stimulation is not considered the same as F02-F01, while in my analysis it does, I think it is nice to add this option as a variable argument in the function for preprocessing. You and Dora made some slight changes for this in another script, so maybe you can add it into this function (I did a pull request for this function).

I think there are multiple ways to create a variable parameter/argument for a function. Including parse (but I don't know how this works), or 'switch nargin with case 2 and 3', but I think it might be best to use something like, but @dorahermes might have a better suggestion:

function [database] = ccep_load_database(database, top_path, varargin)
if isempty(varargin{1} OR varargin{1} == 'biphasic'
STEPS FOR ANALYSIS WITH AVERAGING ALL
elseif varargin{1} == 'monophasic'
STEPS FOR ANALYSIS WITH MONOPHASIC AVERAGING

I left some space in the function to put this into.

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.