Code Monkey home page Code Monkey logo

Comments (2)

smburns47 avatar smburns47 commented on August 11, 2024

from preprocessingfnirs.

mcooperwhite avatar mcooperwhite commented on August 11, 2024

FYI, I continue to get this after this evening's updates.

I'm running matlab 2019b, and the issue seems to be with matlab's "filtfilt" only taken finite (not NaN) values.

Here's the full error:

Error using filtfilt
Expected input to be finite.

Error in filtfilt>efiltfilt (line 114)
    validateattributes(x,{'double'},{'finite','nonempty'},'filtfilt');

Error in filtfilt (line 89)
        y=efiltfilt(b,a,x);

Error in hmrBandpassFilt (line 44)
ylpf=filtfilt(fb,fa,y);

Error in hmrIntensity2Conc (line 46)
dod = hmrBandpassFilt( dod, fs, hpf, lpf );

Error in fNIRSFilterPipeline (line 22)
    [dconverted, ~] = hmrIntensity2Conc(dfiltered, SD, samprate, 0.008, 0.2, [6, 6]);

Error in preprocessingfNIRS (line 280)
                    [new_d2, oxy2, deoxy2, totaloxy2, z_oxy2, z_deoxy2, z_totaloxy2]
                    = fNIRSFilterPipeline(d2, SD2, samprate);

from preprocessingfnirs.

Related Issues (2)

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.