| Trees | Indices | Help |
|---|
|
|
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Creates a new data line.
|
Checks whether two data lines are compatible.
|
Sets lateral and value units of a data field to match a data line.
|
Creates a new data line similar to an existing one. Use
|
Emits signal "data_changed" on a data line. |
Creates a new data line by resampling an existing one. This method is equivalent to Since: 2.1
|
Resamples a data line. In other words changes the size of one dimensional field related with data line. The original values are used for resampling using a requested interpolation alorithm.
|
Resizes (crops) a data line. Extracts a part of data line in range
|
Extracts a part of a data line to a new data line.
|
Copies the contents of a data line to another already allocated data line of the same size. <warning>Semantic of method differs from DataField.copy(), it copies only data. It will be probably changed.</warning>
|
Gets the raw data buffer of a data line. The returned buffer is not guaranteed to be valid through whole data line life time. Some function may change it, most notably DataLine.resize() and DataLine.resample(). This function invalidates any cached information, use
|
Gets the number of data points in a data line.
|
Gets the physical size of a data line.
|
Sets the real data line size.
|
Gets the offset of data line origin.
|
Sets the offset of a data line origin. Note offsets don't affect any calculation, nor functions like DataLine.rtoi().
|
Returns lateral SI unit of a data line.
|
Returns value SI unit of a data line.
|
Sets the SI unit corresponding to the lateral (X) dimension of a data line. It does not assume a reference on
|
Sets the SI unit corresponding to the "height" (Z) dimension of a data line. It does not assume a reference on
|
Finds value format good for displaying coordinates of a data line.
|
Finds value format good for displaying values of a data line. Note this functions searches for minimum and maximum value in
|
Transforms pixel coordinate to real (physical) coordinate. That is it maps range [0..resolution] to range [0..real-size]. It is
not suitable for conversion of matrix indices to physical coordinates,
you have to use DataLine.itor(
|
Transforms real (physical) coordinate to pixel coordinate. That is it maps range [0..real-size] to range [0..resolution].
|
Gets value at given position in a data line. Do not access data with this function inside inner loops, it's slow.
Get raw data buffer with
|
Sets the value at given position in a data line. Do not set data with this function inside inner loops, it's slow. Get raw data buffer with DataLine.get_data() and write to it directly instead.
|
Gets interpolated value at arbitrary data line point indexed by pixel coordinates. Note pixel values are centered in intervals [ See also DataLine.get_dval_real() that does the same, but takes real coordinates.
|
Gets interpolated value at arbitrary data line point indexed by real coordinates. See also DataLine.get_dval() for interpolation explanation.
|
Reflects amd/or inverts a data line. In the case of value reflection, it's inverted about mean value.
|
Fills a data line with zeroes. |
Fills a data line with specified value.
|
Multiplies all values in a data line with a specified value.
|
Adds a specified value to all values in a data line.
|
Fills a data line part with zeroes.
|
Fills specified part of data line with specified number
|
Multiplies all values in a part of data line by specified value.
|
Adds specified value to all values in a part of a data line.
|
Sets all the values to
|
Sets all the values within interval to
|
Finds line leveling coefficients. The coefficients can be used for line leveling using relation data[i] := data[i] - (av + bv*i);
|
Performs line leveling. See
|
Performs line rotation. This is operation similar to leveling, but it does not change the angles between line segments (on the other hand it introduces other deformations due to discretization). Since: 2.7
|
Performs line rotation. Use DataLine.rotate() instead.
|
Computes central derivaltion at given index in a data line.
|
Fits a polynomial through a part of a data line. Please see
|
Fits a polynomial through a data line. Note For polynomials of degree 0 and 1 it's better to use DataLine.get_avg() and
|
Subtracts a polynomial from a part of a data line.
|
Subtracts a polynomial from a data line.
|
Transforms a distribution in a data line to cummulative distribution. Each element becomes sum of all previous elements in the line, including self. |
Applies sqrt() to each element in a data line. |
Performs steps of the wavelet decomposition. The smallest low pass coefficients block is equal to
|
Calculates Fast Fourier Transform of a data line. A windowing or data leveling can be applied if requested.
|
Calculates Fast Fourier Transform of a part of a data line. A windowing or data leveling can be applied if requested.
|
Calculates Fast Fourier Transform of a data line. No leveling, windowing nor scaling is performed. Since 2.8 the dimensions need not to be from the set of sizes returned by gwy_fft_find_nice_size(). Since: 2.1
|
Finds the maximum value of a data line.
|
Finds the minimum value of a data line.
|
Computes average value of a data line.
|
Computes root mean square value of a data line.
|
Computes root mean square slope in a data line. Since: 2.2
|
Computes sum of all values in a data line.
|
Finds the maximum value of a part of a data line.
|
Finds the minimum value of a part of a data line.
|
Computes mean value of all values in a part of a data line.
|
Computes root mean square value of a part of a data line.
|
Computes root mean square slope in a part of a data line. This is the root mean square of value derivatives, it is also proportional to the second derivative of both HHCF and ACF at zero. Since: 2.2
|
Computes sum of all values in a part of a data line.
|
Finds approximate modus of a data line. See DataLine.part_get_modus() for details and caveats.
|
Finds approximate modus of a data line part. As each number in the data line is usually unique, this function does not return modus of the data itself, but modus of a histogram.
|
Finds median of a data line. Since: 2.1
|
Finds median of a data line part. Since: 2.1
|
Calculates physical length of a data line. The length is calculated from approximation by straight segments between values.
|
Calculates the distribution of data line values. This function is quite similar to DataLine.dh(), the differences are: output normalization (chosen to make the integral unity), output units (again set to make the integral unity), automated binning. If all values are equal and Since: 2.8
|
Computes distribution of heights in interval
[ If the interval is (0, 0) it computes the distribution from real data minimum and maximum value.
|
Computes cumulative distribution of heighs in interval
[ If the interval is (0, 0) it computes the distribution from real data minimum and maximum value.
|
Computes distribution of angles in interval [ If the interval is (0, 0) it computes the distribution from real data minimum and maximum angle value.
|
Computes cumulative distribution of angles in interval
[ If the interval is (0, 0) it computes the distribution from real data minimum and maximum angle value.
|
Coputes autocorrelation function and stores the values in
|
Computes height-height correlation function and stores results in
|
Calculates the power spectral density function of a data line. Up to version 2.7 it destroyed the input data and did not set the output units properly.
|
| Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Sat Feb 11 04:01:00 2012 | http://epydoc.sourceforge.net |