poldracklab / fitlins

Fit Linear Models to BIDS Datasets
https://fitlins.readthedocs.io
Apache License 2.0
76 stars 31 forks source link

Level-dependent parameterization #174

Open effigies opened 5 years ago

effigies commented 5 years ago

One thing that FitLins should be useful for (especially after #171) is to swap in and out different tools at different levels, allowing users to specify a precise methodological difference when systematically comparing tools.

This is going to require some level-dependent parameterization, such as what estimator to use at each level, and there may be other issues, such as smoothing or resampling (e.g., from volume to surface) that also make sense to separate out.

One thought is to write a parser (not sure if this is manageable with argparse) that allows for nested option namespaces:

fitlins <global flags>
    --level=run <run-level flags> \
    --level=dataset <dataset-level flags> \
    --level=all <more global flags>

Or a JSON specification that will do the same.

Any other thoughts?

adelavega commented 5 years ago

That seems reasonable, although maybe not super high priority

effigies commented 5 years ago

Agreed. "High effort" is my code for "low priority".