瀏覽代碼

calibration: path changes, add emacs mode control

Fernando Pablo Lopez-Lezcano 9 年之前
父節點
當前提交
72a0e213ec

+ 2 - 1
calibration/src/sphear_bf_plot_fons.m

@@ -1,3 +1,4 @@
+%% -*- mode: octave -*-
 %%
 %% *SpHEAR Project
 %%
@@ -87,6 +88,6 @@ function [BF] = sphear_bf_plot_fons(BF, fmin, fmax, rmax)
     plot(x, y, dopts, 'linewidth', 1.5, 'markersize', 6);
     
   end
-  print(f, '-deps','-tight',copt,["figures/sphear_polar_multi_" sprintf("%05d", fmin) "_" sprintf("%05d", fmax) cext ".eps"]);
+  print(f, '-deps','-tight',copt,["../figures/sphear_polar_multi_" sprintf("%05d", fmin) "_" sprintf("%05d", fmax) cext ".eps"]);
 end
 

+ 1 - 0
calibration/src/sphear_bf_power.m

@@ -1,3 +1,4 @@
+%% -*- mode: octave -*-
 %%
 %% *SpHEAR Project
 %%

+ 3 - 2
calibration/src/sphear_bf_power_fons.m

@@ -1,3 +1,4 @@
+%% -*- mode: octave -*-
 %%
 %% *SpHEAR Project
 %%
@@ -44,11 +45,11 @@ function [B] = sphear_bf_power_fons(fmin, fmax, N, Fs, plotz)
   %% all measurements
   for m = 1:16
     %% all b format components, 4 channel soundfile
-    bsignal = wavread(["../cal/2016.08.03/fons/b-format-rendered-" sprintf("%03.0f", m) "-16.wav"]);
+    bsignal = wavread(["../data/2016.04.20/export/b-format-fons-rendered-" sprintf("%03.0f", m) "-16.wav"]);
 
     %% transform from FUMA to SN3D (the encoder is outputing FUMA)
     %% bsignal(:,1) = bsignal(:,1) * (sqrt(2)/2);
-	
+
     %% find first peak, read samples around it
     Npre = 64;
     Nbuf = 256;

+ 2 - 1
calibration/src/sphear_wxyz_plot_all.m

@@ -1,3 +1,4 @@
+%% -*- mode: octave -*-
 %%
 %% *SpHEAR Project
 %%
@@ -55,7 +56,7 @@ function [B] = sphear_wxyz_plot_all(fmin, fmax, Noct, Nbuf, Npre, Nfft, plt)
   for i = (1:size(fc))
     B(:,:,i) = sphear_wxyz_power(measurements, fe(i), fe(i + 1), Nbuf, Npre, Nfft, plotz) / norm;
     if (plt == 1)
-      sphear_wxyz_plot(B(:,:,i), fe(i), fe(i + 1), 1.5);
+      sphear_wxyz_plot(B(:,:,i), fe(i), fe(i + 1), 3.0);
     end
   end