# -------------------------------------------------------------------- # QC block: "mot" # item : motion (VR6) # [PT: Nov 1, 2018] update list in ldep var-- much shorter now # [PT: Sep 6, 2019] now also include censor bars, if available ldep = ['motion_dset', 'nt_orig'] if lat.check_dep(ap_ssdict, ldep): HAS_censor_dset = lat.check_dep(ap_ssdict, ['censor_dset']) ban = lat.bannerize(' volreg motion pars, and censoring') obase = 'qc_{:02d}'.format(idx) cmd = lat.apqc_mot_VR6(obase, "mot", "VR6", RUN_STYLE, 1600, has_cen_dset=HAS_censor_dset) str_FULL += ban str_FULL += cmd idx += 1 # -------------------------------------------------------------------- # QC block: "regr" # item : sum of stims (regressors of interest) # [PT: Jan 14, 2019] Stats dset now included in ldep here, because # if there is no stats dset or its value is NO_STATS, then there # *are no* regressors of interest, so we won't try to plot them.
str_FULL += ban str_FULL += cmd idx += 1 # -------------------------------------------------------------------- # QC block: "mot" # item : motion (VR6) # [PT: Nov 1, 2018] update list in ldep var-- much shorter now ldep = ['motion_dset', 'nt_orig'] if lat.check_dep(ap_ssdict, ldep): ban = lat.bannerize(' volreg motion pars') obase = 'qc_{:02d}'.format(idx) cmd = lat.apqc_mot_VR6(obase, "mot", "VR6", RUN_STYLE, 1600) str_FULL += ban str_FULL += cmd idx += 1 # -------------------------------------------------------------------- # QC block: "regr" # item : sum of stims (regressors of interest) # [PT: Jan 14, 2019] Stats dset now included in ldep here, because # if there is no stats dset or its value is NO_STATS, then there # *are no* regressors of interest, so we won't try to plot them. # At some point, we will add in different info to put here, though. ldep = ['sum_ideal', 'stats_dset']