Skip to content
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

Add muse qc check #157

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Add muse qc check #157

wants to merge 3 commits into from

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