# -*- coding: utf-8 -*-
"""
Created on Thu Jan 27 15:24:00 2022

@author: WeberChungPC_01
"""

import SpindleDetection
import sleepy

ppath = r'D:\POA Photometry\VGLUT'

textfile='VGLUT POA Photometry SD.txt'
data=sleepy.load_dose_recordings(ppath, textfile)[1]
for i in data['photo_sd']:
    SpindleDetection.spindleswholerecording(i, ppath, 96.0, 0.5, 2, 1.0, 0.6) 
    print('Done with '+str(i))

