Class Histogram
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
|
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
|
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
|
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
Returns
|
Improve this Doc
View Source
Histo(Double[], Int32)
Declaration
public static int[] Histo(double[] data, int binCount)
Parameters
Returns
|
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
Returns
|
Improve this Doc
View Source
Histo(Double[,], Int32)
HISTOGRAM from a matrix of double.
Declaration
public static int[] Histo(double[, ] data, int binCount)
Parameters
Returns
|
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
Returns
|
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
Returns
|
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
|
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
Returns
|
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
Returns
|
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
Returns
|
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
|
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
|
Improve this Doc
View Source
WriteConcise2DHistogram(Int32[,], Int32)
Declaration
public static void WriteConcise2DHistogram(int[, ] array, int max)
Parameters
|
Improve this Doc
View Source
WriteConciseHistogram(Int32[])
Declaration
public static void WriteConciseHistogram(int[] data)
Parameters
Type |
Name |
Description |
Int32[] |
data |
|