Пример #1
0
from jaratoolbox.test.nick.ephysExperiments import recordingday as rd
reload(rd)

today = rd.Recording(animalName='pinp003',
                     date='2015-06-24',
                     experimenter='nick',
                     paradigm='laser_tuning_curve')

site1 = today.add_site(depth=3543, goodTetrodes=[6])

s1NB = site1.add_session('15-22-29', None, 'NoiseBurst')
s1NB.set_plot_type('raster', report='main')

s1LP = site1.add_session('15-25-08', None, 'LaserPulse')
s1LP.set_plot_type('raster', report='main')

s1LT = site1.add_session('15-27-37', None, 'LaserTrain')
s1LT.set_plot_type('raster', report='main')

s1TC = site1.add_session('15-31-48', 'a', 'TuningCurve')
s1TC.set_plot_type('tc_heatmap', report='main')

s1BF = site1.add_session('15-45-22', 'b', 'BestFreq')
s1BF.set_plot_type('raster', report='main')

#site1.generate_main_report(show=False, save=False, saveClusterReport=False)

site2 = today.add_site(depth=3600, goodTetrodes=[4, 5, 6])
s2NB = site2.add_session('16-00-00', None, 'NoiseBurst')
s2LP = site2.add_session('16-00-01', None, 'LaserPulse')
s2LT = site2.add_session('16-00-02', None, 'LaserTrain')
Пример #2
0
from jaratoolbox.test.nick.ephysExperiments import recordingday as rd
reload(rd)

sessionTypes = {
    'nb': 'noiseBurst',
    'lp': 'laserPulse',
    'lt': 'laserTrain',
    'tc': 'tuningCurve',
    'bf': 'bestFreq',
    '3p': '3mWpulse',
    '1p': '1mWpulse'
}

exp0707 = rd.Recording(animalName='d1pi001',
                       date='2015-07-07',
                       experimenter='lan',
                       paradigm='laser_tuning_curve')

site1 = exp0707.add_site(depth=2750, goodTetrodes=[3])
site1.add_session('14-10-13', None, sessionTypes['nb'])
site1.add_session('14-11-42', None, sessionTypes['lp'])
site1.add_session('14-14-00', None, sessionTypes['lt'])
site1.add_session('14-17-54', 'a', sessionTypes['tc'])

site2 = exp0707.add_site(depth=2900, goodTetrodes=[3])
site2.add_session('15-12-17', None, sessionTypes['nb'])
site2.add_session('15-14-12', None, sessionTypes['lp'])
site2.add_session('15-16-18', None, sessionTypes['lt'])
site2.add_session('15-18-44', 'b', sessionTypes['tc'])

site3 = exp0707.add_site(depth=3025, goodTetrodes=[3, 6])