From 6dbfe0ab8db551f55a7d1ff02c0e09ce19ddfb42 Mon Sep 17 00:00:00 2001 From: Erik Kooistra <kooistra@astron.nl> Date: Wed, 18 May 2016 12:33:51 +0000 Subject: [PATCH] Deleted obsolete spec.m --- applications/apertif/matlab/spec.m | 36 ------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 applications/apertif/matlab/spec.m diff --git a/applications/apertif/matlab/spec.m b/applications/apertif/matlab/spec.m deleted file mode 100644 index 3c2584b654..0000000000 --- a/applications/apertif/matlab/spec.m +++ /dev/null @@ -1,36 +0,0 @@ -%----------------------------------------------------------------------------- -% -% Copyright (C) 2016 -% ASTRON (Netherlands Institute for Radio Astronomy) <http://www.astron.nl/> -% P.O.Box 2, 7990 AA Dwingeloo, The Netherlands -% -% This program is free software: you can redistribute it and/or modify -% it under the terms of the GNU General Public License as published by -% the Free Software Foundation, either version 3 of the License, or -% (at your option) any later version. -% -% This program is distributed in the hope that it will be useful, -% but WITHOUT ANY WARRANTY; without even the implied warranty of -% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -% GNU General Public License for more details. -% -% You should have received a copy of the GNU General Public License -% along with this program. If not, see <http://www.gnu.org/licenses/>. -% -%----------------------------------------------------------------------------- -% Author: E. Kooistra, 2016 -% -% Purpose : Image spectrum per block of data -% Description : - -function state = spec(ctrl, data) - % Data imager - ctrl.pwr(ctrl.block_nr, :) = db(abs(data))/-200; - %ctrl.pwr(ctrl.block_nr, 1) - ctrl.block_nr - ctrl.img = image(ctrl.pwr'); - %set(ctrl.img, 'CData', ctrl.pwr'); - %drawnow; - - % Keep pwr buffer for next call - state = ctrl; -- GitLab