Skip to content
Snippets Groups Projects
Select Git revision
  • a0df615e0f68d24cf2eeb13e35ebf8dd7a2cf7ac
  • master default protected
  • updateOptitrackToNatNet3
  • develop
  • feature/pigeon-udfa
  • changes-pc-rar2
  • feature/update-cdisp
  • ita-fileformat-cleanup
  • switchFromSerialToSerialport
  • ma23-mika
  • subjectOrientationFeedback
  • feature/iem_dynamic_auralization
  • feature/individualizeHRTFbyITD
  • features/hoa-decoders
  • jst
  • ahe
  • ahe_local
  • feature/changeItaCoordinatesElevationAndAzimuthFromDegreesToRadians
  • 35-output-measurement-chain-calibration
  • bugfix/midi
  • feature/propagation_models protected
  • pynamic-v0.0.1
  • paper_linking_atmospheric_urban_auralization
  • documentationFix
  • Last-SVN-Commit
25 results

itaSuper.m

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    itaSuper.m 45.16 KiB
    classdef itaSuper < itaMeta
        
        
        %ITASUPER - Mother of all ita data-object classes (itaAudio/itaResult)
        %   Detailed explanation goes here
        %
        %   Reference page in Help browser
        %   <a href="matlab:doc itaSuper">doc itaSuper</a>
        
        % <ITA-Toolbox>
        % This file is part of the ITA-Toolbox. Some rights reserved.
        % You can find the license for this m-file in the license.txt file in the ITA-Toolbox folder.
        % </ITA-Toolbox>
        
        properties(Access = private, Hidden = true)
            % Internal fields, no access from outside the class
            mData = [];
            mDimensions = 0;
            mDomain = 'time';                % 'time' / 'freq'
            mChannelNames = {};
            mChannelUnits = {};
            mChannelCoordinates = itaCoordinates();
            mChannelOrientation = itaCoordinates();
            mChannelSensors = {};
            mChannelUserData = {};
            mAllowDBPlot = true;
            
            % up and view vector for hrtf data
            mObjectCoordinates = itaCoordinates();
            mObjectViewVector = itaCoordinates();
            mObjectUpVector = itaCoordinates();
            
            mDataType = 'double';           % Type for internal data
            mDataTypeOutput = 'double';     % Type used for output
            mDataTypeEqual = true;          % On/Off Switch for data type casts (speed reason)
            mDataFactor = 1;                % Factor for scaling if using int
        end
        
        properties(Constant, Hidden = true)
            % display options
            LINE_LENGTH  = 90;
        end
        
        %     properties(Abstract)
        %         % Properties that all sub-classes have but are not used in this class
        %         %freqVector
        %         %timeVector
        %     end
        
        properties(Dependent = true, Hidden = false)
            
            time %time domain data (get/set) - full dimensions
            timeData %time domain data in 2D
            
            freq %frequency domain data (get/set) - full dimensions
            freqData %frequency domain data in 2D
            
            
            nBins %number of frequency samples called bins
            nSamples % number of time samples
            
            domain % domain of data ('time'/'freq')
            dimensions % dimensions of the data field
            
            dataType %raw data type, data is stored in... (single/double)
            dataTypeOutput %data type when you access data (single/double), conversion
            
            channelNames %Names for each channel (cell string)
            channelUnits %Units for each channel (cell string)
            channelCoordinates %Coordinates for each channel (have to be itaCoordinates)