bachlab / PsPM

A matlab suite for Psycho-Physiological Modelling
GNU General Public License v3.0
43 stars 11 forks source link

fix DCM for NaN data #645

Closed dominikbach closed 8 months ago

dominikbach commented 8 months ago

Fixes #644 .

Changes proposed in this pull request:

dominikbach commented 8 months ago

@teddychao Could you kindly add a test case with only NaN data?

teddychao commented 8 months ago

@dominikbach I fixed the issues I mentioned above in the commits. I also added the test for missing values as test_hra1_flex_cs_missing. I reenable the verify-no-warning test test_hra1_flex_cs for DCM by simplifying a test dataset. Maybe you can have a look and merge if you are happy with them. Thanks