Skip to content

Commit ace3f42

Browse files
authored
replace sq with squeeze (SteenMoeller#7)
1 parent b30e4e9 commit ace3f42

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

DEMO/script_for_creating_simulation_data.m

+5-5
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,11 @@
6464
QQ=load('KSP_demo_data_for_NORDICkernel8')
6565
Q=load('demo_data_for_NORDIC')
6666
figure; clf
67-
subplot(2,2,1); imagesc(sq(real(Q.KSP(:,:,32,12))),[0 1]); title('Data + noise')
68-
subplot(2,2,2); imagesc(sq(real(Q.IMG(:,:,32,12))),[0 1]); title('Data w/o noise')
69-
subplot(2,2,3); imagesc(sq(real(QQ.KSP_update(:,:,32,12))),[0 1]); title('NORDIC processed')
70-
subplot(2,2,4); plot(sq(real(Q.KSP(20,25,32,1:end-2) - Q.IMG(20,25,32,1:end-1)))), hold on
71-
plot(sq(real(QQ.KSP_update(20,25,32,1:end) - Q.IMG(20,25,32,1:end-1))))
67+
subplot(2,2,1); imagesc(squeeze(real(Q.KSP(:,:,32,12))),[0 1]); title('Data + noise')
68+
subplot(2,2,2); imagesc(squeeze(real(Q.IMG(:,:,32,12))),[0 1]); title('Data w/o noise')
69+
subplot(2,2,3); imagesc(squeeze(real(QQ.KSP_update(:,:,32,12))),[0 1]); title('NORDIC processed')
70+
subplot(2,2,4); plot(squeeze(real(Q.KSP(20,25,32,1:end-2) - Q.IMG(20,25,32,1:end-1)))), hold on
71+
plot(squeeze(real(QQ.KSP_update(20,25,32,1:end) - Q.IMG(20,25,32,1:end-1))))
7272
legend('difference before NORDIC','difference after NORDIC')
7373

7474

0 commit comments

Comments
 (0)