added edf read function and 1st analysis script