From 94ec74c43ef51e6abea86ddea4afa49c3db2eeb2 Mon Sep 17 00:00:00 2001
From: Florian Vollrath <florian.vollrath@brain.mpg.de>
Date: Thu, 11 Aug 2016 17:00:58 +0200
Subject: [PATCH] deleted deprecated code

---
 main.m | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/main.m b/main.m
index bdc9643..397b850 100644
--- a/main.m
+++ b/main.m
@@ -1,7 +1,6 @@
 %% load and prepare all single tiffs
 %importing
 [data_g, data_r] = CellSortLoadSingleFiles('ChanA_*_*.tif', 'ChanB_*_*.tif');
-% [data_g, data_r] = CellSortLoadSingleFiles('ChanA_*_*.tif', 'ChanB_*_*.tif', data_g, data_r);
 %% matVis
 matVis(data_r);
 %% get ref frame for shift correction
@@ -18,20 +17,13 @@
 
 fn = 'processedData.mat';
 save(fn, 'data_g', 'data_r', '-v7.3');
-% fn_green = 'green.tiff';
-% fn_red = 'red.tiff';
-% CellSortExportTifStack(data_g, fn_green);
-% CellSortExportTifStack(data_r, fn_red);
 %% load files
 %if you haven't used the shiftCorrection you have to load the already processed files
 fn_green = 'processedData.mat';
 load(fn);
-% fn_green = 'green.tiff';
-% fn_red = 'red.tiff';
-% data_g = readTiff(fn_green);
-% data_r = readTiff(fn_red);
 %% 1. PCA
 %calculate PCAs
+fn_green = 'processedData.mat';
 nPCs = 100;
 flims = [];
 dSamp = [1 1]; %temporal, spatial downsampling