Aufgrund einer Wartung wird GitLab am 17.08. zwischen 8:30 und 9:00 Uhr kurzzeitig nicht zur Verfügung stehen. / Due to maintenance, GitLab will be temporarily unavailable on 17.08. between 8:30 and 9:00 am.

Adding different converter script switches in daffv17 convert from miro script

parent 3da72f80
......@@ -70,7 +70,7 @@ betarange = rad2deg( [ min( miro_obj.elevation ) max( miro_obj.elevation ) ] );
betares = diff( betarange ) / ( betanums - 1 );
if strcmpi( contenttype, 'dft' )
%$ Execute using data function 'dfMIRODFT' (discrete fourier transform)
% Execute using data function 'dfMIRODFT' (discrete fourier transform)
daffv17_write( 'filename', target_file_path, ...
'datafunc', @dfMIRODFT, ...
'userdata', miro_obj, ...
......@@ -83,7 +83,7 @@ if strcmpi( contenttype, 'dft' )
'orient', [ 0 0 0 ], ...
'channels', 2 );
elseif strcmpi( contenttype, 'ms' )
%$ Execute using data function 'dfMIROMS' (magnitude spectrum)
% Execute using data function 'dfMIROMS' (magnitude spectrum)
daffv17_write( 'filename', target_file_path, ...
'datafunc', @dfMIROMS, ...
'userdata', miro_obj, ...
......@@ -95,8 +95,34 @@ elseif strcmpi( contenttype, 'ms' )
'betarange', betarange, ...
'orient', [ 0 0 0 ], ...
'channels', 2 );
elseif strcmpi( contenttype, 'mps' )
% Execute using data function 'dfMIROMPS' (magnitude and phase spectrum)
daffv17_write( 'filename', target_file_path, ...
'datafunc', @dfMIROMPS, ...
'userdata', miro_obj, ...
'metadata', metadata, ...
'content', 'mps', ...
'alphares', alphares, ...
'alpharange', alpharange, ...
'betares', betares, ...
'betarange', betarange, ...
'orient', [ 0 0 0 ], ...
'channels', 2 );
elseif strcmpi( contenttype, 'ps' )
% Execute using data function 'dfMIROPS' (phase spectrum)
daffv17_write( 'filename', target_file_path, ...
'datafunc', @dfMIROPS, ...
'userdata', miro_obj, ...
'metadata', metadata, ...
'content', 'ps', ...
'alphares', alphares, ...
'alpharange', alpharange, ...
'betares', betares, ...
'betarange', betarange, ...
'orient', [ 0 0 0 ], ...
'channels', 2 );
else
%$ Execute using data function 'dfMIRO' (time domain)
% Execute using data function 'dfMIROIR' (impulse response)
daffv17_write( 'filename', target_file_path, ...
'datafunc', @dfMIROIR, ...
'userdata', miro_obj, ...
......@@ -109,4 +135,6 @@ else
'orient', [ 0 0 0 ], ...
'channels', 2, ...
'quantization', 'float32' );
end
\ No newline at end of file
end
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment