-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unclear error: "Inconsistency: all regressors must have the same type of HRF (3 and 2 found)" #125
Comments
Thanks for letting us know Michael! BTW, what is the use case? I can’t think of anytime that I’ve mixed HRF types, and won’t normally recommend it to anyone.
@cmaumet: is this single-HRF restriction an implementational convenience or part of the NIDM Spec?
|
There is no real use case. I just clicked together a toy analysis for: ReproNim/ohbm2018-training#3 -- but this particular choice was unintentional. The underlying use case is to build a metadata extractor for datalad (https://github.com/datalad/datalad-neuroimaging). We have started working on capturing as much of NIDM as possible, but I completely missed that this library for FSL existed (@yarikoptic pointed it out to me). And for this effort we would naturally aim for something that is as robust as possible given the to-be-expected variability of configurations in the wild. In other words, we cannot really expect sanity as a precondition ;-) |
I think mixing HRFs in one model is an edge case if not bad practice. I'd change your design.fsf to have all Looking at the spec, HRF is an instance of Convolution Basis Set, which is an attribute of a Design Matrix. (Excuse me if I've mangled the Semantic Web semantics). So I'm afraid that we don't currently allow a column-specific HRF. There are a constellation of different analysis options and in building NIDM Results we tried to capture the typical ones, but if you think it's important use case, create an [ENH] issue on https://github.com/incf-nidash/nidm-specs/issues |
@mih, @yarikoptic: thank you for your feedback and thank you @nicholst for your answers! Let's see how we can update NIDM-Results to include this usecase! |
In a first attempt to explore nidmfsl I got this error:
It seems that this is a limitation of nidmfsl, and not an error in the analysis, but the exception would allow for both interpretations.
Is it not possible to represent different HRF models in NIDM results, or is this merely a temporary "didn't get to it yet" issue?
The text was updated successfully, but these errors were encountered: