Search Results for

    Show / Hide Table of Contents

    Class TemporalMatrix

    Inheritance
    Object
    TemporalMatrix
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: TowseyLibrary
    Assembly: TowseyLibrary.dll
    Syntax
    public class TemporalMatrix

    Constructors

    | Improve this Doc View Source

    TemporalMatrix(String, Double[,], TimeSpan)

    Initializes a new instance of the TemporalMatrix class. CONSTRUCTOR.

    Declaration
    public TemporalMatrix(string temporalDirection, double[, ] m, TimeSpan dataScale)
    Parameters
    Type Name Description
    String temporalDirection
    Double[,] m
    TimeSpan dataScale

    Properties

    | Improve this Doc View Source

    DataScale

    Declaration
    public TimeSpan DataScale { get; set; }
    Property Value
    Type Description
    TimeSpan
    | Improve this Doc View Source

    EndTime

    Declaration
    public TimeSpan EndTime { get; set; }
    Property Value
    Type Description
    TimeSpan
    | Improve this Doc View Source

    Matrix

    Declaration
    public double[, ] Matrix { get; set; }
    Property Value
    Type Description
    Double[,]
    | Improve this Doc View Source

    StartTime

    Declaration
    public TimeSpan StartTime { get; set; }
    Property Value
    Type Description
    TimeSpan
    | Improve this Doc View Source

    TemporalDirection

    Declaration
    public string TemporalDirection { get; set; }
    Property Value
    Type Description
    String

    Methods

    | Improve this Doc View Source

    CompressFrameSpectrograms(Double[,], Int32)

    This method assumes that the matrix spectrograms are oriented so that the rows = spectra and the columns = freq bins, i.e. rotated 90 degrees from normal orientation.

    Declaration
    public static double[, ] CompressFrameSpectrograms(double[, ] matrix, int compressionFactor)
    Parameters
    Type Name Description
    Double[,] matrix
    Int32 compressionFactor
    Returns
    Type Description
    Double[,]
    | Improve this Doc View Source

    CompressMatrixInTemporalDirectionByTakingAverage(TimeSpan)

    Declaration
    public double[, ] CompressMatrixInTemporalDirectionByTakingAverage(TimeSpan newScale)
    Parameters
    Type Name Description
    TimeSpan newScale
    Returns
    Type Description
    Double[,]
    | Improve this Doc View Source

    CompressMatrixInTemporalDirectionByTakingMax(TimeSpan)

    Declaration
    public double[, ] CompressMatrixInTemporalDirectionByTakingMax(TimeSpan newScale)
    Parameters
    Type Name Description
    TimeSpan newScale
    Returns
    Type Description
    Double[,]
    | Improve this Doc View Source

    DataDuration()

    Declaration
    public TimeSpan DataDuration()
    Returns
    Type Description
    TimeSpan
    | Improve this Doc View Source

    ExpandSubmatrixInTemporalDirection(TimeSpan, TimeSpan, TimeSpan)

    Declaration
    public double[, ] ExpandSubmatrixInTemporalDirection(TimeSpan startTime, TimeSpan blockDuration, TimeSpan newScale)
    Parameters
    Type Name Description
    TimeSpan startTime
    TimeSpan blockDuration
    TimeSpan newScale
    Returns
    Type Description
    Double[,]
    | Improve this Doc View Source

    GetDataBlock(TimeSpan, Int32)

    Declaration
    public double[, ] GetDataBlock(TimeSpan startTime, int frameCount)
    Parameters
    Type Name Description
    TimeSpan startTime
    Int32 frameCount
    Returns
    Type Description
    Double[,]
    | Improve this Doc View Source

    GetDataBlock(TimeSpan, TimeSpan)

    Declaration
    public double[, ] GetDataBlock(TimeSpan startTime, TimeSpan blockDuration)
    Parameters
    Type Name Description
    TimeSpan startTime
    TimeSpan blockDuration
    Returns
    Type Description
    Double[,]
    | Improve this Doc View Source

    SwapTemporalDimension()

    changes temporal dimension from rows to columns or vice-versa.

    Declaration
    public void SwapTemporalDimension()

    Extension Methods

    ObjectExtensions.NotNull(Object)
    ObjectExtensions.AsArray<T>(T)
    ObjectExtensions.AsList<T>(T)
    ObjectExtensions.Wrap<T>(T)
    SystemExtensions.BinarySerialize(Object)
    ConfigFileExtensions.NotNull(Object, FileInfo, String, String)
    ConfigFileExtensions.ValidateNotNull(Object, String, String)
    ConfigFileExtensions.ValidateLessThan<T>(Object, Nullable<T>, String, Nullable<T>, String, String)
    ExtensionsXml.SerializeObject<T>(T)
    • Improve this Doc
    • View Source
    In This Article
    Generated by DocFX AP docs version: 21.7.0.4-master-e26127a50d7bd7472d47288f10e61014fb981f7f-DIRTY-CI:144 Back to top