Skip to content

Commit 8a6021f

Browse files
committed
updated process NFS with null transformations for Parkers alignment code and fixed other small errors
1 parent 44f8c7b commit 8a6021f

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

Process NFS/Process_NFS.m

+13-8
Original file line numberDiff line numberDiff line change
@@ -625,21 +625,17 @@
625625

626626
measurements=new_measurements;
627627

628-
f=f;
629-
630628
save([Raw_Data_Folder,'\PANEL_FILES_ALIGNED\',files(i).name], 'measurements', 'X', 'Y', 'f');
631-
fprintf(['FINISHED ROTATING FILE: ',files(i).name(16:end-4),'.mat \n']);
629+
fprintf(['FINISHED ROTATING FILE: ',files(i).name(16:end-4),'.mat \n']);
632630

633631
end
634632
%% save as effective dipoles
635633
mkdir(Raw_Data_Folder,'\EQUIV_DIPOLES\')
636634
files=dir([Raw_Data_Folder,'\PANEL_FILES_ALIGNED\*.MAT']);
637635
for i=1:numel(files)
638636
% panel=import_scans([Raw_Data_Folder,'\PANEL_FILES_ALIGNED\',files(i).name],'Ex',1,'Ey', 2);
639-
panel=import_scans([Raw_Data_Folder,'\PANEL_FILES_ALIGNED\',files(i).name],'Ex',1);
640637

641-
file='Rx_06.mat';
642-
load(file);
638+
panel=import_scans([Raw_Data_Folder,'\PANEL_FILES_ALIGNED\',files(i).name],'Ex',1);
643639
dipoles=panel.dipoles;
644640
feedLocs=panel.feedLocs;
645641
numfeeds=panel.numfeeds;
@@ -657,7 +653,13 @@
657653
fstop=panel.fstop;
658654
dims=panel.dims;
659655
x=panel.x;
660-
n=[1;0;0];
656+
n=[1;0;0];
657+
658+
%Null Transformations for Parker's code
659+
R=eye(3);
660+
T=[0;0;0];
661+
662+
661663
save([Raw_Data_Folder,'\EQUIV_DIPOLES\',files(i).name],...
662664
'dipoles',...
663665
'feedLocs',...
@@ -676,7 +678,10 @@
676678
'fstop',...
677679
'dims',...
678680
'x',...
679-
'n');
681+
'n',...
682+
'R',...
683+
'T'...
684+
);
680685

681686
% save([Raw_Data_Folder,'\EQUIV_DIPOLES\',files(i).name], 'panel');
682687
fprintf(['EQUIVALENT DIPOLE FILE: ',files(i).name(1:end-4),'.mat \n']);

0 commit comments

Comments
 (0)