This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""A small job to profile kernel transformers and meta estimators in NiMARE.""" | |
import logging | |
import os.path as op | |
import psutil | |
from datetime import datetime | |
import numpy as np | |
import pandas as pd | |
from memory_profiler import memory_usage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# First, let's define some paths to the fMRIPrep and tedana outputs | |
fmriprep_dir="/path/to/fmriprep/derivatives/of/subject" | |
tedana_dir="/path/to/tedana/derivatives" | |
# Result of denoising the scanner-space multi-echo data with tedana | |
file_to_warp="${tedana_dir}/sub-01_task-rest_desc-optcomDenoised_bold.nii.gz" | |
# Name of the standard-space denoised data file to be written out | |
out_file="${tedana_dir}/sub-01_task-rest_space-MNI152NLin2009cAsym_desc-optcomDenoised_bold.nii.gz" |
OlderNewer