GeneralTF: Difference between revisions

From Sofaconventions
Jump to navigation Jump to search
Content deleted Content added
No edit summary
Line 96: Line 96:




Name Default Flags Dimensions Type Comment
{| border="1"
GLOBAL:Conventions SOFA rm attribute
!Name
GLOBAL:Version 1.0 rm attribute
!Default
GLOBAL:SOFAConventions GeneralTF rm attribute This conventions stores TFs for general purposes, i.e., only the mandatory, SOFA general metadata are pre-defined. This convention is based on GeneralFIR.
![[SOFA_conventions#AnchorFlags|Flags]]
GLOBAL:SOFAConventionsVersion 1.0 rm attribute
![[SOFA_conventions#AnchorDimensions|Dimensions]]
GLOBAL:APIName rm attribute
!Type
GLOBAL:APIVersion rm attribute
!Comment
GLOBAL:ApplicationName attribute
|-
|GLOBAL:Conventions||<nowiki>SOFA</nowiki>||rm||||attribute||
GLOBAL:ApplicationVersion attribute
GLOBAL:AuthorContact m attribute
|-
|GLOBAL:Version||<nowiki>1.0</nowiki>||rm||||attribute||
GLOBAL:Comment m attribute
GLOBAL:DataType TF rm attribute We store frequency-dependent data here
|-
GLOBAL:History attribute
|GLOBAL:SOFAConventions||<nowiki>GeneralTF</nowiki>||rm||||attribute||This conventions stores TFs for general purposes, i.e., only the mandatory, SOFA general metadata are pre-defined. This convention is based on GeneralFIR.
GLOBAL:License No license provided, ask the author for permission m attribute
|-
|GLOBAL:SOFAConventionsVersion||<nowiki>1.0</nowiki>||rm||||attribute||
GLOBAL:Organization m attribute
GLOBAL:References attribute
|-
GLOBAL:RoomType free field m attribute The room information can be arbitrary
|GLOBAL:APIName||<nowiki></nowiki>||rm||||attribute||
GLOBAL:Origin attribute
|-
|GLOBAL:APIVersion||<nowiki></nowiki>||rm||||attribute||
GLOBAL:DateCreated m attribute
GLOBAL:DateModified m attribute
|-
|GLOBAL:ApplicationName||<nowiki></nowiki>||||||attribute||
GLOBAL:Title m attribute
ListenerPosition [0 0 0] m IC, MC double
|-
ListenerPosition:Type cartesian m attribute
|GLOBAL:ApplicationVersion||<nowiki></nowiki>||||||attribute||
ListenerPosition:Units metre m attribute
|-
ReceiverPosition [0 0 0] m rCI, rCM double
|GLOBAL:AuthorContact||<nowiki></nowiki>||m||||attribute||
ReceiverPosition:Type cartesian m attribute
|-
ReceiverPosition:Units metre m attribute
|GLOBAL:Comment||<nowiki></nowiki>||m||||attribute||
SourcePosition [0 0 1] m IC, MC double In order to store different directions/positions around the listener, SourcePosition is assumed to vary
|-
SourcePosition:Type spherical m attribute
|GLOBAL:DataType||<nowiki>TF</nowiki>||rm||||attribute||We store frequency-dependent data here
SourcePosition:Units degree, degree, metre m attribute
|-
EmitterPosition [0 0 0] m eCI, eCM double
|GLOBAL:History||<nowiki></nowiki>||||||attribute||
EmitterPosition:Type cartesian m attribute
|-
EmitterPosition:Units metre m attribute
|GLOBAL:License||<nowiki>No license provided, ask the author for permission</nowiki>||m||||attribute||
Data.Real 0 m mRn double The real part of the complex spectrum
|-
Data.Imag 0 m MRN double The imaginary part of the complex spectrum
|GLOBAL:Organization||<nowiki></nowiki>||m||||attribute||
N 0 m N double Frequency values
|-
N:LongName frequency m attribute narrative name of N
|GLOBAL:References||<nowiki></nowiki>||||||attribute||
N:Units hertz m attribute Unit of the values given in N
|-
|GLOBAL:RoomType||<nowiki>free field</nowiki>||m||||attribute||The room information can be arbitrary
|-
|GLOBAL:Origin||<nowiki></nowiki>||||||attribute||
|-
|GLOBAL:DateCreated||<nowiki></nowiki>||m||||attribute||
|-
|GLOBAL:DateModified||<nowiki></nowiki>||m||||attribute||
|-
|GLOBAL:Title||<nowiki></nowiki>||m||||attribute||
|-
|ListenerPosition||<nowiki>[0 0 0] </nowiki>||m||IC, MC||double||
|-
|ListenerPosition:Type||<nowiki>cartesian</nowiki>||m||||attribute||
|-
|ListenerPosition:Units||<nowiki>metre</nowiki>||m||||attribute||
|-
|ReceiverPosition||<nowiki>[0 0 0]</nowiki>||m||rCI, rCM||double||
|-
|ReceiverPosition:Type||<nowiki>cartesian</nowiki>||m||||attribute||
|-
|ReceiverPosition:Units||<nowiki>metre</nowiki>||m||||attribute||
|-
|SourcePosition||<nowiki>[0 0 1]</nowiki>||m||IC, MC||double||In order to store different directions/positions around the listener, SourcePosition is assumed to vary
|-
|SourcePosition:Type||<nowiki>spherical</nowiki>||m||||attribute||
|-
|SourcePosition:Units||<nowiki>degree, degree, metre</nowiki>||m||||attribute||
|-
|EmitterPosition||<nowiki>[0 0 0]</nowiki>||m||eCI, eCM||double||
|-
|EmitterPosition:Type||<nowiki>cartesian</nowiki>||m||||attribute||
|-
|EmitterPosition:Units||<nowiki>metre</nowiki>||m||||attribute||
|-
|Data.Real||<nowiki>0</nowiki>||m||mRn||double||The real part of the complex spectrum
|-
|Data.Imag||<nowiki>0</nowiki>||m||MRN||double||The imaginary part of the complex spectrum
|-
|N||<nowiki>0</nowiki>||m||N||double||Frequency values
|-
|N:LongName||<nowiki>frequency</nowiki>||m||||attribute||
|-
|N:Units||<nowiki>hertz</nowiki>||m||||attribute||Unit of the values given in N
|}

Revision as of 12:22, 21 October 2022

Description

This conventions defines only that TF is the DataType. All other metadata follow the general SOFA specifications.

This conventions can be used to save data which are too general to store in more specific conventions, e.g., exact configuration of sources and receivers in a BEM simulation.

Version 2.0

Name Default Flags Dimensions Type Comment
GLOBAL:Conventions SOFA rm attribute
GLOBAL:Version 1.0 rm attribute
GLOBAL:SOFAConventions GeneralTF rm attribute This conventions stores TFs for general purposes, i.e., only the mandatory, SOFA general metadata are pre-defined. This convention is based on GeneralFIR.
GLOBAL:SOFAConventionsVersion 2.0 rm attribute
GLOBAL:APIName rm attribute
GLOBAL:APIVersion rm attribute
GLOBAL:ApplicationName attribute
GLOBAL:ApplicationVersion attribute
GLOBAL:AuthorContact m attribute
GLOBAL:Comment m attribute
GLOBAL:DataType TF rm attribute We store frequency-dependent data here
GLOBAL:History attribute
GLOBAL:License No license provided, ask the author for permission m attribute
GLOBAL:Organization m attribute
GLOBAL:References attribute
GLOBAL:RoomType free field m attribute The room information can be arbitrary
GLOBAL:Origin attribute
GLOBAL:DateCreated m attribute
GLOBAL:DateModified m attribute
GLOBAL:Title m attribute
ListenerPosition [0 0 0] m IC, MC double
ListenerPosition:Type cartesian m attribute
ListenerPosition:Units metre m attribute
ReceiverPosition [0 0 0] m IC, RC, RCM double
ReceiverPosition:Type cartesian m attribute
ReceiverPosition:Units metre m attribute
SourcePosition [0 0 1] m IC, MC double In order to store different directions/positions around the listener, SourcePosition is assumed to vary
SourcePosition:Type spherical m attribute
SourcePosition:Units degree, degree, metre m attribute
EmitterPosition [0 0 0] m eCI, eCM double
EmitterPosition:Type cartesian m attribute
EmitterPosition:Units metre m attribute
Data.Real 0 m mrn double The real part of the complex spectrum
Data.Imag 0 m MRN double The imaginary part of the complex spectrum
N 0 m N double Frequency values
N:LongName frequency m attribute
N:Units hertz m attribute Unit of the values given in N

Version 1.0

Version 1.0 is deprecated. Please use Conventions version 2.0 instead.


Name Default Flags Dimensions Type Comment GLOBAL:Conventions SOFA rm attribute GLOBAL:Version 1.0 rm attribute GLOBAL:SOFAConventions GeneralTF rm attribute This conventions stores TFs for general purposes, i.e., only the mandatory, SOFA general metadata are pre-defined. This convention is based on GeneralFIR. GLOBAL:SOFAConventionsVersion 1.0 rm attribute GLOBAL:APIName rm attribute GLOBAL:APIVersion rm attribute GLOBAL:ApplicationName attribute GLOBAL:ApplicationVersion attribute GLOBAL:AuthorContact m attribute GLOBAL:Comment m attribute GLOBAL:DataType TF rm attribute We store frequency-dependent data here GLOBAL:History attribute GLOBAL:License No license provided, ask the author for permission m attribute GLOBAL:Organization m attribute GLOBAL:References attribute GLOBAL:RoomType free field m attribute The room information can be arbitrary GLOBAL:Origin attribute GLOBAL:DateCreated m attribute GLOBAL:DateModified m attribute GLOBAL:Title m attribute ListenerPosition [0 0 0] m IC, MC double ListenerPosition:Type cartesian m attribute ListenerPosition:Units metre m attribute ReceiverPosition [0 0 0] m rCI, rCM double ReceiverPosition:Type cartesian m attribute ReceiverPosition:Units metre m attribute SourcePosition [0 0 1] m IC, MC double In order to store different directions/positions around the listener, SourcePosition is assumed to vary SourcePosition:Type spherical m attribute SourcePosition:Units degree, degree, metre m attribute EmitterPosition [0 0 0] m eCI, eCM double EmitterPosition:Type cartesian m attribute EmitterPosition:Units metre m attribute Data.Real 0 m mRn double The real part of the complex spectrum Data.Imag 0 m MRN double The imaginary part of the complex spectrum N 0 m N double Frequency values N:LongName frequency m attribute narrative name of N N:Units hertz m attribute Unit of the values given in N