Exemplo n.º 1
0
    'intervName': dataDB.get_interval_names(),
    'datatype': ['bn_trial', 'bn_session'],
    'trialType': ['None', 'iGO', 'iNOGO'],
    'performance': ['naive', 'expert']
}

# Exclude following parameter combinations
exclQueryLst = [{
    'datatype': 'bn_trial',
    'intervName': 'PRE'
}  # Pre-trial interval not meaningful for bn_trial
                ]

for nBin in [2]:
    for permuteTarget in [False, True]:
        randKey = 'rand' if permuteTarget else 'data'
        h5outname = 'pid_sych_multimouse_nbin_' + str(
            nBin) + '_' + randKey + '.h5'

        multiprocess_mouse(dataDB,
                           mc,
                           h5outname,
                           argSweepDict,
                           exclQueryLst,
                           'PID',
                           metric='BivariatePID',
                           dim=3,
                           nBin=nBin,
                           permuteTarget=permuteTarget,
                           dropChannels=[21])
Exemplo n.º 2
0
# Sweep over following parameters
argSweepDict = {
    'mousename': dataDB.mice,  # ['mvg_4']
    'intervName': dataDB.get_interval_names(),
    'datatype': ['bn_trial', 'bn_session'],
    'trialType': ['None', 'Hit', 'CR']
}

# Exclude following parameter combinations
exclQueryLst = [
    {
        'datatype': 'bn_trial',
        'intervName': 'PRE'
    },  # Pre-trial interval not meaningful for bn_trial
    #{'mousename' : 'mou_6', 'intervName': 'REW'}     # No reward recorded for mouse 6
]

for permuteTarget in [False, True]:
    randKey = 'rand' if permuteTarget else 'data'
    h5outname = 'pr2_gallerosalas_multimouse_' + randKey + '.h5'

    multiprocess_mouse(dataDB,
                       mc,
                       h5outname,
                       argSweepDict,
                       exclQueryLst,
                       'PR2',
                       permuteTarget=permuteTarget,
                       dropChannels=[16, 26])