Ejemplo n.º 1
0
    def __init__(self, name, sub, display=False):
        self.path = path_sys[
            _platform] + 'Experiments/'  #"/Volumes/data/AMOLF/groups/hecke-group/Corentin/rawdata/"
        self.name = name
        self.sub = sub
        #to comment if no mysql server
        self.DB = Database.DB()
        self.DB.connect(self.name)
        self.tmp = Tmp()
        #to comment if no mysql server

        self.infos = Infos()
        self.infos.file = self.path + self.name + '/Files/infos' + str(
            self.sub) + '.p'
        self.load(dat='infos')
        self.infos.file = self.path + self.name + '/Files/infos' + str(
            self.sub) + '.p'
        #self.infos.ROI=ROI()

        self.timeseries = Timeseries()
        self.timeseries.file = self.path + self.name + '/Files/timeseries' + str(
            self.sub) + '.p'
        self.load(dat='timeseries')
        self.timeseries.file = self.path + self.name + '/Files/timeseries' + str(
            self.sub) + '.p'

        self.imagedata = Imagedata()
        self.imagedata.file = self.path + self.name + '/Files/imagedata' + str(
            self.sub) + '.p'

        self.movie = Movie()
        self.movie.file = self.path + self.name + '/Movies/' + str(
            self.sub) + '/'
Ejemplo n.º 2
0
    def __init__(self, name, sub):
        self.name = name
        self.sub = sub
        self.DB = Database.DB()
        self.DB.connect(self.name)
        self.tmp = Tmp()

        self.infos = Infos()
        self.infos.file = self.path + self.name + '/Files/infos' + str(
            self.sub) + '.p'
Ejemplo n.º 3
0
    def __init__(self, name, sub):
        self.path = path_sys[_platform] + 'Experiments/'
        self.name = name
        self.sub = sub
        self.DB = Database.DB()
        self.DB.connect(self.name)
        self.tmp = Tmp()

        self.infos = Infos()
        self.infos.file = self.path + self.name + '/Files/infos' + str(
            self.sub) + '.p'

        self.imagedata = Imagedata()
        self.imagedata.file = self.path + self.name + '/Files/imagedata' + str(
            self.sub) + '.p'
Ejemplo n.º 4
0
    def __init__(self, name, sub):
        self.pref = '/'
        self.name = name
        self.sub = sub
        self.DB = Database.DB()
        self.DB.connect(self.name)
        self.tmp = Tmp()

        self.infos = Infos()
        self.infos.file = self.path + self.name + '/Files/infos' + str(
            self.sub) + '.p'

        self.imagedata = Imagedata()
        self.imagedata.file = self.path + self.name + '/Files/imagedata' + str(
            self.sub) + '.p'

        self.timeseries = Timeseries()
        self.timeseries.file = self.path + self.name + '/Files/timeseries' + str(
            self.sub) + '.p'