Search Results for

    Show / Hide Table of Contents

    Class Histogram

    Inheritance
    Object
    Histogram
    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 static class Histogram

    Methods

    | Improve this Doc View Source

    DrawDistributionsAndSaveImage(Double[,], String)

    Declaration
    public static void DrawDistributionsAndSaveImage(double[, ] matrix, string imagePath)
    Parameters
    Type Name Description
    Double[,] matrix
    String imagePath
    | Improve this Doc View Source

    GetHistogramOfWaveAmplitudes(Double[], Int32, out Int32[], out Double, out Double, out Double)

    Declaration
    public static void GetHistogramOfWaveAmplitudes(double[] waveform, int window, out int[] histogramOfAmplitudes, out double minAmplitude, out double maxAmplitude, out double binWidth)
    Parameters
    Type Name Description
    Double[] waveform
    Int32 window
    Int32[] histogramOfAmplitudes
    Double minAmplitude
    Double maxAmplitude
    Double binWidth
    | Improve this Doc View Source

    GetPercentileBin(Int32[], Int32)

    Returns the bin ID that coincides with the passed percentile.

    Declaration
    public static int GetPercentileBin(int[] histogram, int percentile)
    Parameters
    Type Name Description
    Int32[] histogram
    Int32 percentile
    Returns
    Type Description
    Int32
    | Improve this Doc View Source

    Histo(Byte[,], out Byte, out Byte)

    Declaration
    public static int[] Histo(byte[, ] data, out byte min, out byte max)
    Parameters
    Type Name Description
    Byte[,] data
    Byte min
    Byte max
    Returns
    Type Description
    Int32[]
    | Improve this Doc View Source

    Histo(Double[], Int32)

    Declaration
    public static int[] Histo(double[] data, int binCount)
    Parameters
    Type Name Description
    Double[] data
    Int32 binCount
    Returns
    Type Description
    Int32[]
    | Improve this Doc View Source

    Histo(Double[], Int32, out Double, out Double, out Double)

    Declaration
    public static int[] Histo(double[] data, int binCount, out double binWidth, out double min, out double max)
    Parameters
    Type Name Description
    Double[] data
    Int32 binCount
    Double binWidth
    Double min
    Double max
    Returns
    Type Description
    Int32[]
    | Improve this Doc View Source

    Histo(Double[,], Int32)

    HISTOGRAM from a matrix of double.

    Declaration
    public static int[] Histo(double[, ] data, int binCount)
    Parameters
    Type Name Description
    Double[,] data
    Int32 binCount
    Returns
    Type Description
    Int32[]
    | Improve this Doc View Source

    Histo(Double[,], Int32, Double, Double, Double)

    Declaration
    public static int[] Histo(double[, ] data, int binCount, double min, double max, double binWidth)
    Parameters
    Type Name Description
    Double[,] data
    Int32 binCount
    Double min
    Double max
    Double binWidth
    Returns
    Type Description
    Int32[]
    | Improve this Doc View Source

    Histo(Double[,], Int32, out Double, out Double, out Double)

    Declaration
    public static int[] Histo(double[, ] data, int binCount, out double binWidth, out double min, out double max)
    Parameters
    Type Name Description
    Double[,] data
    Int32 binCount
    Double binWidth
    Double min
    Double max
    Returns
    Type Description
    Int32[]
    | Improve this Doc View Source

    Histo(Int32[])

    HISTOGRAM from an array of int. It assumes all values are positive.

    Declaration
    public static int[] Histo(int[] data)
    Parameters
    Type Name Description
    Int32[] data
    Returns
    Type Description
    Int32[]
    | Improve this Doc View Source

    Histo(Int32[], Int32, out Double, out Int32, out Int32)

    HISTOGRAM from an array of int.

    Declaration
    public static int[] Histo(int[] data, int binCount, out double binWidth, out int min, out int max)
    Parameters
    Type Name Description
    Int32[] data
    Int32 binCount
    Double binWidth
    Int32 min
    Int32 max
    Returns
    Type Description
    Int32[]
    | Improve this Doc View Source

    Histo(Int32[], out Int32, out Int32)

    make histogram of integers where each bin has unit width.

    Declaration
    public static int[] Histo(int[] data, out int min, out int max)
    Parameters
    Type Name Description
    Int32[] data
    Int32 min
    Int32 max
    Returns
    Type Description
    Int32[]
    | Improve this Doc View Source

    Histo_addition(Double[,], Int32[], Double, Double, Double)

    Declaration
    public static int[] Histo_addition(double[, ] data, int[] histo, double min, double max, double binWidth)
    Parameters
    Type Name Description
    Double[,] data
    Int32[] histo
    Double min
    Double max
    Double binWidth
    Returns
    Type Description
    Int32[]
    | Improve this Doc View Source

    Histo_FixedWidth(Double[], Double, Double, Double)

    returns a fixed width histogram. Width is determined by user supplied min and max.

    Declaration
    public static int[] Histo_FixedWidth(double[] data, double binWidth, double min, double max)
    Parameters
    Type Name Description
    Double[] data

    the data.

    Double binWidth

    should be an integer width.

    Double min

    the min value.

    Double max

    the max value.

    Returns
    Type Description
    Int32[]
    | Improve this Doc View Source

    Histo_FixedWidth(Int32[], Int32, Int32, Int32)

    returns a fixed width histogram. Width is determined by user supplied min and max.

    Declaration
    public static int[] Histo_FixedWidth(int[] data, int binWidth, int min, int max)
    Parameters
    Type Name Description
    Int32[] data

    the histogram data.

    Int32 binWidth

    should be an integer width.

    Int32 min

    min value.

    Int32 max

    max value.

    Returns
    Type Description
    Int32[]
    | Improve this Doc View Source

    WriteConcise2DHistogram(Int32[,], Int32)

    Declaration
    public static void WriteConcise2DHistogram(int[, ] array, int max)
    Parameters
    Type Name Description
    Int32[,] array
    Int32 max
    | Improve this Doc View Source

    WriteConciseHistogram(Int32[])

    Declaration
    public static void WriteConciseHistogram(int[] data)
    Parameters
    Type Name Description
    Int32[] data
    • 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