Пример #1
0
    '3p': '3mWpulse',
    '1p': '1mWpulse',
    '2afc': '2afc'
}

exp1205 = cellDB.Experiment(animalName='adap011',
                            date='2015-12-05',
                            experimenter='lan',
                            defaultParadigm='laser_tuning_curve')

site1 = exp1205.add_site(depth=2580,
                         tetrodes=[2, 3, 5, 6, 7,
                                   8])  #TT4 did not have any spikes
site1.add_session('14-09-14', None, sessionTypes['nb'])  #amp=0.15
site1.add_session('14-12-57', None, sessionTypes['nb'])  #amp=0.25
site1.add_session('14-17-11', 'a', sessionTypes['tc'])  #2-40Hz chords, 50dB
site1.add_session('14-27-22', 'b', sessionTypes['tc'])  #2-40Hz chords, 60dB
site1.add_session('14-39-32', 'a', sessionTypes['2afc'], paradigm='2afc')

sitefuncs.nick_lan_daily_report(site1,
                                'site1',
                                mainRasterInds=[0, 1],
                                mainTCind=3,
                                mainSTRind=3)

sitefuncs.lan_2afc_ephys_plots(site1,
                               'site1',
                               main2afcind=4,
                               tetrodes=[2, 3, 5, 6, 7,
                                         8])  #tetrode 8 sound responsive
Пример #2
0
    'lt': 'laserTrain',
    'tc': 'tuningCurve',
    'bf': 'bestFreq',
    '3p': '3mWpulse',
    '1p': '1mWpulse',
    '2afc': '2afc'
}

exp1204 = cellDB.Experiment(animalName='adap011',
                            date='2015-12-04',
                            experimenter='lan',
                            defaultParadigm='laser_tuning_curve')

site1 = exp1204.add_site(depth=2580,
                         tetrodes=[2, 3, 5, 6, 7,
                                   8])  #TT4 did not have any spikes
site1.add_session('14-41-11', None, sessionTypes['nb'])  #amp=0.15
site1.add_session('14-48-13', None, sessionTypes['nb'])  #amp=0.15
site1.add_session('14-50-16', 'b', sessionTypes['2afc'], paradigm='2afc')
site1.add_session('15-25-14', None, sessionTypes['nb'])  #amp=0.2
site1.add_session('15-27-37', 'a', sessionTypes['tc'])  #2-40Hz chords, 50dB

sitefuncs.nick_lan_daily_report(site1,
                                'site1',
                                mainRasterInds=[1, 3],
                                mainTCind=4,
                                mainSTRind=4)

sitefuncs.lan_2afc_ephys_plots(site1, 'site1', main2afcind=2,
                               tetrodes=[1, 8])  #tetrode 1&8 sound responsive
Пример #3
0
sessionTypes = {
    'nb': 'noiseBurst',
    'lp': 'laserPulse',
    'lt': 'laserTrain',
    'tc': 'tuningCurve',
    'bf': 'bestFreq',
    '3p': '3mWpulse',
    '1p': '1mWpulse',
    '2afc': '2afc'
}

exp0915 = cellDB.Experiment(animalName='d1pi004',
                            date='2015-09-15',
                            experimenter='lan',
                            defaultParadigm='laser_tuning_curve')

site1 = exp0915.add_site(depth=3120, tetrodes=range(
    1, 9))  #all TTs laser-responsive, TT7 clearly sound-responsive
site1.add_session('17-04-11', None, sessionTypes['lp'])  #1mW,10ms
site1.add_session('17-05-57', None, sessionTypes['nb'])  #amp=0.1
site1.add_session('17-09-34', None, sessionTypes['lt'])
site1.add_session('17-11-52', None, sessionTypes['nb'])  #amp=0.2
site1.add_session(
    '17-14-51', 'a', sessionTypes['2afc'], paradigm='2afc'
)  #need to specific paradigm to overwrite the default since it's a different paradigm

#sitefuncs.nick_lan_daily_report_short(site1, 'site1', mainRasterInds=[0,1,2,3])

sitefuncs.lan_2afc_ephys_plots(site1, 'site1', main2afcind=4)
Пример #4
0
from jaratest.lan.Ephys import sitefuncs_vlan as sitefuncs
reload(sitefuncs)


sessionTypes = {'nb':'noiseBurst',
                'lp':'laserPulse',
                'lt':'laserTrain',
                'tc':'tuningCurve',
                'bf':'bestFreq',
                '3p':'3mWpulse',
                '1p':'1mWpulse',
                '2afc':'2afc'}
 
exp1214 = cellDB.Experiment(animalName='adap005', date ='2015-12-14', experimenter='lan', defaultParadigm='laser_tuning_curve') 


site1 = exp1214.add_site(depth=2260, tetrodes=[1,3,7]) 
site1.add_session('15-51-40', None, sessionTypes['nb']) #amp=0.15
site1.add_session('15-55-38', 'a', sessionTypes['tc']) #2-40Hz chords, 50dB
site1.add_session('16-01-03', 'b', sessionTypes['tc']) #5.4,6.6,8.1kHz chords, 50dB
site1.add_session('16-05-18', None, sessionTypes['nb']) #amp=0.2
site1.add_session('16-08-53', 'c', sessionTypes['tc']) #6.2&9.9kHz chords, 50dB
site1.add_session('16-13-08', 'd', sessionTypes['tc']) #2-40Hz chords, 50dB
site1.add_session('16-23-21', 'a', sessionTypes['2afc'], paradigm='2afc')
#sitefuncs.nick_lan_daily_report(site1, 'site1', mainRasterInds=[0,3], mainTCind=5, mainSTRind=5)
sitefuncs.lan_2afc_ephys_plots(site1, 'site1', main2afcind=6, tetrodes=[1,3,7]) 
#sitefuncs.lan_2afc_ephys_plots_each_type(site1, 'site1', main2afcind=6, tetrodes=[1,2,3,5,8],trialLimit=[])
#sitefuncs.lan_2afc_ephys_plots_each_block_each_type(site1, 'site1', main2afcind=6, tetrodes=[1,2,3,5,8],trialLimit=[,1508],choiceSide='both') 
#sitefuncs.lan_2afc_ephys_plots_each_block_each_type(site1, 'site1', main2afcind=6, tetrodes=[1,2,3,5,8],trialLimit=[],choiceSide='left')
#sitefuncs.lan_2afc_ephys_plots_each_block_each_type(site1, 'site1', main2afcind=6, tetrodes=[1,2,3,5,8],trialLimit=[],choiceSide='right')