Download
Welcome to SOFiA
Who is behind SOFiA
Feature overview
System overview
Function reference
readVSAdata
mergeArrayData
F/D/T
gauss
lebedev
S/W/G
S/T/C
W/G/C
S/F/E
M/F
R/F/I
P/D/C
I/T/C
makeMTX
makeIR
visual3D
Coordinate System
Application Examples
Example 1
Example 2
Example 3
Example 4
Example 5
Example 6
Example 7
Example 8
Array Datasets
VariSphear system
Groups and Mailinglists
Contact and Support
How to Reference

SOFiA application example 4

File(s)

Run `sofiaAE4.m`.

Locate the folder `EXAMPLE2_LevelResolution` containing the required array data.

Output


Take care: This figure shows a frontal view of the array response and the photo on top shows the rear side of the array.

Code

/*
SOFiA example 4: Level/Space Resolution
SOFiA Version : R11-1220
Array Dataset : R11-1018

clear all
clc

% Read VariSphear dataset
% !!! LOCATE THE FOLDER: "EXAMPLE2_LevelResolution"

timeData = sofia_readVSAdata();

% Transform time domain data to frequency domain and generate kr-vector

[fftData, kr, f] = sofia_fdt(timeData);

% Spatial Fourier Transform

Nsft = 5;
Pnm = sofia_stc(Nsft, fftData, timeData.quadratureGrid);

% Radial Filters for a rigid sphere array

Nrf = Nsft; % radial filter order
maxAmp = 10; % Maximum modal amplification in [dB]
ac = 2; % Array configuration: 2 = Rigid Sphere

dn = sofia_mf(Nrf, kr, ac, maxAmp); % radial filters
dn = sofia_rfi(dn); % radial filter improvement

% Make MTX
Nmtx = Nsft;
krIndex = 600; % Here we select the kr-bin (Frequency) to display
mtxData = sofia_makeMTX(Nmtx, Pnm, dn, krIndex);


% Plot the response

figure(1)
clf();

sofia_visual3D(mtxData, 0);
view(90, 0)

disp(' ');
disp(The plot shows the response at a frequency of ',num2str(round(10*f(krIndex))/10),'Hz');

*/