Exemplo n.º 1
0
engine.connectEngine();

# creating a session and getting sessionID
engine.createSession();
print("sessionID received = %s" % (engine.sessionID));

# reading the actual run number
if (len(sys.argv)>1):
   option = str(sys.argv[1]);
else:
   option = "1";

PIPELINE = int(option);

# changing the MNI mask
engine.setVariable('MNIMask', 'studydirhmat_spm_PM.nii.gz');   

# changing the MNI template
engine.setVariable('MNITemplate', 'studydirMNI152_T1_1mm_brain.nii.gz');

if (PIPELINE > 1):
   # changing the mask type
   engine.setVariable('ActivationLevelMaskType', '1');   
   # changing the mask
   engine.setVariable('ActivationLevelMask', 'glmdirtstats_features_RUN01_bin');   
   # changing the directory of the volumes
   engine.setVariable('Prefix', 'outputdirRUN0' + option + os.path.sep + 'DRIN-');   
   # changing the current suffix
   engine.setVariable('CurrentRunSuffix', 'RUN0' + option);   
   
# initiating processing
Exemplo n.º 2
0
engine.connectEngine();

# creating a session and getting sessionID
engine.createSession();
print("sessionID received = %s" % (engine.sessionID));

# reading the actual run number
if (len(sys.argv)>1):
   option = str(sys.argv[1]);
else:
   option = "1";

PIPELINE = int(option);
 
# changing the MNI mask
engine.setVariable('MNIMask', 'studydirhmat_spm_final.nii');   

# changing the MNI template
engine.setVariable('MNITemplate', 'studydirMNI152_T1_1mm_brain.nii.gz');

# changing the directory of the volumes
engine.setVariable('Prefix', 'outputdirRUN0' + option + os.path.sep + 'DRIN-');   

# changing the correlation size
engine.setVariable('CorrelationWindowSize', '10');   

# changing the current suffix
engine.setVariable('CurrentRunSuffix', 'RUN0' + option);   

# changing the correlation size
engine.setVariable('CorrelationWindowSize', '10');   
Exemplo n.º 3
0
engine.connectEngine();

# creating a session and getting sessionID
engine.createSession();
print("sessionID received = %s" % (engine.sessionID));

# reading the actual run number
if (len(sys.argv)>1):
   option = str(sys.argv[1]);
else:
   option = "1";

PIPELINE = int(option);
 
# changing the MNI mask
engine.setVariable('MNIMask', 'studydirhmat_spm_final.nii');   

# changing the MNI template
engine.setVariable('MNITemplate', 'studydirMNI152_T1_1mm_brain.nii.gz');

# changing the directory of the volumes
engine.setVariable('Prefix', 'outputdirRUN0' + option + os.path.sep + 'DRIN-');   

# changing the activation level
engine.setVariable('ActivationLevel', '0.01');   

# changing the current suffix
engine.setVariable('CurrentRunSuffix', 'RUN0' + option);   
   
# initiating processing
engine.doTrain = False;
Exemplo n.º 4
0
# creating a session and getting sessionID
engine.createSession();
print("sessionID received = %s" % (engine.sessionID));

# reading the actual run number
if (len(sys.argv)>1):
   option = str(sys.argv[1]);
else:
   option = "1";

PIPELINE = int(option);
 
if (PIPELINE > 1):
   # changing the directory of the volumes
   engine.setVariable('Prefix', 'outputdirRUN0' + option + os.path.sep + 'DRIN-');   
   # changing the current suffix
   engine.setVariable('ModelRunSuffix', 'RUN01');   
   # changing the current suffix
   engine.setVariable('CurrentRunSuffix', 'RUN0' + option);   

   # not using all the subject mask
   engine.setVariable('UseWholeSubjectSpaceMask', '0');   
   
   # changing the threshold Type
   engine.setVariable('ByCutOff', '2');   

   # changing the p-value cut off
   engine.setVariable('pvalueCutOff', '0.005');   
   
# initiating processing
Exemplo n.º 5
0
engine.connectEngine()

# creating a session and getting sessionID
engine.createSession()
print("sessionID received = %s" % (engine.sessionID))

# reading the actual run number
if (len(sys.argv) > 1):
    option = str(sys.argv[1])
else:
    option = "1"

PIPELINE = int(option)

# changing the MNI mask
engine.setVariable('MNIMask', 'studydirhmat_spm_final.nii')

# changing the MNI template
engine.setVariable('MNITemplate', 'studydirMNI152_T1_1mm_brain.nii.gz')

# changing the directory of the volumes
engine.setVariable('Prefix', 'outputdirRUN0' + option + os.path.sep + 'DRIN-')

# changing the activation level
engine.setVariable('ActivationLevel', '0.01')

# changing the current suffix
engine.setVariable('CurrentRunSuffix', 'RUN0' + option)

# initiating processing
engine.doTrain = False
Exemplo n.º 6
0
engine.connectEngine()

# creating a session and getting sessionID
engine.createSession()
print("sessionID received = %s" % (engine.sessionID))

# reading the actual run number
if (len(sys.argv) > 1):
    option = str(sys.argv[1])
else:
    option = "1"

PIPELINE = int(option)

# changing the MNI mask
engine.setVariable('MNIMask', 'studydirhmat_spm_PM.nii.gz')

# changing the MNI template
engine.setVariable('MNITemplate', 'studydirMNI152_T1_1mm_brain.nii.gz')

if (PIPELINE > 1):
    # changing the mask type
    engine.setVariable('ActivationLevelMaskType', '1')
    # changing the mask
    engine.setVariable('ActivationLevelMask',
                       'glmdirtstats_features_RUN01_bin')
    # changing the directory of the volumes
    engine.setVariable('Prefix',
                       'outputdirRUN0' + option + os.path.sep + 'DRIN-')
    # changing the current suffix
    engine.setVariable('CurrentRunSuffix', 'RUN0' + option)