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 Gauss-Legendre Quadrature Grids

This function computes Gauss-Legendre quadrature nodes and weigths in the SOFiA/VariSphear data format.



ARGUMENTS

Input

Name Type Purpose Default
AZnodes int Number of azimutal nodes 10
ELnodes int Number of elevation nodes 5
plot int

Schow globe plot of the grid
0: Plot off, 1: Plot on

1

Output

Name Type Purpose
gridData float mtx Quadrature grid, positions and weights (W):
AZ1 EL1 W1 AZ2 EL2 W2 ... AZM ELM WM for M Positions
Npoints int Number of sampling points
Nmax int Maximum Grid Order

Angles AZ, EL are in RAD

Example


Gauss 10AZ/5EL Quadrature

FILE(S):

File Type OS/Matlab
sofia_gauss.m Help header, Fuction All OS

 

SOURCE OF THE QUADRATURE

Written by: Greg von Winckel - 04/13/2006

HEADER

/*
[gridData, Npoints, Nmax] = sofia_gauss(AZnodes, ELnodes, plot)

------------------------------------------------------------------------------------

gridData Gauss-Legendre quadrature including weigths(W):
[AZ_1 EL_1 W_1;
AZ_2 EL_2 W_2;
...
AZ_n EL_n W_n]

Npoint

Total number of nodes

Nmax

Highest stable grid order
------------------------------------------------------------------------------------
AZnodes Number of azimutal nodes [default = 10]

* . impulseResponses       [Channel X Samples]

ELnodes

Number of elevation nodes [default = 5]

plot

Show a globe plot of the selected grid
0: Off, 1: ON [default]
*/