Skip to content

Add muse qc check#157

Draft
yuhancui wants to merge 3 commits intoCBICA:mainfrom
yuhancui:add_muse_qc_check
Draft

Add muse qc check#157
yuhancui wants to merge 3 commits intoCBICA:mainfrom
yuhancui:add_muse_qc_check

Conversation

@yuhancui
Copy link

Updated muse_qc.py and added NiBAx/tests/test_muse_qc.py

Add MUSE quality check test script. This script tried two functions: muse_qc.getMHD_from_RefROIs() and muse_qc.getMHD_from_RefModel() using v1.1/istaging.pkl.gz MUSE ROIs data.
Update muse_qc.py with 2 functions:
1. getMHD_from_RefROIs() 
-Accepts inputROis, refROIs, and n_components (default=3)
-Returns MHD result, ref-based scaler and ref-based PCA model
2. getMHD_from_RefModel()
-Accepts inputROIs, ref-based scaler, ref-based PCA model and n_components (default=3)
-Returns MHD result
Use output (ref-scaler, ref-model) from getMHD_from_RefROIs() as input for getMHD_from_RefModel().
@AbdulkadirA AbdulkadirA marked this pull request as draft July 11, 2022 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant