SOFA specifications: Difference between revisions

From Sofaconventions
Jump to navigation Jump to search
Content deleted Content added
No edit summary
Line 27: Line 27:
!Comment
!Comment
|-
|-
|Data.IR||[1 1]||m||mRn||double||
|Data.IR||<nowiki>[1 1]</nowiki>||m||mRn||double||Impulse responses
|-
|-
|Data.SamplingRate||48000||m||I||double||
|Data.SamplingRate||<nowiki>48000</nowiki>||m||I||double||Sampling rate of the samples in Data.IR
|-
|-
|Data.SamplingRate:Units||hertz||m||||attribute||
|Data.SamplingRate:Units||<nowiki>hertz</nowiki>||m||||attribute||Unit of the sampling rate
|-
|-
|Data.Delay||[0 0]||m||IR, MR||double||
|Data.Delay||<nowiki>[0 0]</nowiki>||m||IR, MR||double||Additional delay of each IR in samples
|}
|}



Revision as of 18:05, 5 September 2014

Specifications


Archive:

Data Types

FIR

For storing impulse responses.

Note: Delay is mandatory (set to 0 if not used).

Name Default Flags Dimensions Type Comment
Data.IR [1 1] m mRn double Impulse responses
Data.SamplingRate 48000 m I double Sampling rate of the samples in Data.IR
Data.SamplingRate:Units hertz m attribute Unit of the sampling rate
Data.Delay [0 0] m IR, MR double Additional delay of each IR in samples

TF

Useful to describe a transfer function by a sparse number of frequencies. The guys from BEM simulations like it.

Note: the dimensional variable N is mandatory, it must be of dimension N, and must provide the frequency values.

Name Default Flags Dimensions Type Comment
Data.Real [0 0] m mRn double The real part of the complex spectrum
Data.Imag [0 0] m MRN double The imaginary part of the complex spectrum
N 0 m N double Frequency values
N_LongName frequency attribute
N_Units hertz m attribute Unit of the values given in N