Trees | Indices | Help |
---|
|
Three-dimensional data representation
Brick
represents 3D data arrays in Gwyddion. It is
typically useful for different volume data obtained from SPMs, like in
force volume measurements.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
Creates a new data brick.
Since: 2.31 |
Checks whether two data bricks are compatible. Real dimensions are checked without regard to calibration. Calibrations are considered compatible if either both exist and are identical or none exists.
Since: 2.51 |
Creates a new data brick similar to an existing one. Use Brick.duplicate() if you want to copy a data brick including data.
Since: 2.31 |
Creates a new data brick as a part of existing one. Use Brick.duplicate() if you want to copy a whole data brick.
Since: 2.32 |
Emits signal "data_changed" on a data brick. Since: 2.31 |
Copies the contents of an already allocated brick to a brick of the same size.
|
Resamples a data brick. In other words changes the size of three dimensional field related with data brick. The original values are used for resampling using a requested interpolation alorithm.
Since: 2.31 |
Gets the x resolution of a data brick.
Since: 2.31 |
Gets the y resolution of a data brick.
Since: 2.31 |
Gets the z resolution of a data brick.
Since: 2.31 |
Gets the physical size of a data brick in the x direction.
Since: 2.31 |
Gets the physical size of a data brick in the y direction.
Since: 2.31 |
Gets the physical size of a data brick in the z direction.
Since: 2.31 |
Gets the offset of data brick origin in x direction.
Since: 2.31 |
Gets the offset of data brick origin in y direction.
Since: 2.31 |
Gets the offset of data brick origin in z direction.
Since: 2.31 |
Sets the real x dimension of a brick.
Since: 2.31 |
Sets the real y dimension of a brick.
Since: 2.31 |
Sets the real z dimension of a brick.
Since: 2.31 |
Sets the offset of a data brick origin in the x direction. Note offsets don't affect any calculation, nor functions like Brick.rtoi().
Since: 2.31 |
Sets the offset of a data brick origin in the y direction. Note offsets don't affect any calculation, nor functions like Brick.rtoi().
Since: 2.31 |
Sets the offset of a data brick origin in the z direction. Note offsets don't affect any calculation, nor functions like Brick.rtoi().
Since: 2.31 |
Gets the horizontal (X) voxel size of a brick in real units. The result is the same as Brick.get_xreal(brick)/Brick.get_xres(brick).
Since: 2.52 |
Gets the vertical (Y) voxel size of a brick in real units. The result is the same as Brick.get_yreal(brick)/Brick.get_yres(brick).
Since: 2.52 |
Gets the level-wise (Z) voxel size of a brick in real units. The result is the same as Brick.get_zreal(brick)/Brick.get_zres(brick). Note that it cannot -- and hence does not -- take into account any attached Z calibration.
Since: 2.52 |
Returns x direction SI unit of a data brick.
Since: 2.31 |
Returns y direction SI unit of a data brick.
Since: 2.31 |
Returns z direction SI unit of a data brick.
Since: 2.31 |
Returns value SI unit of a data brick.
Since: 2.31 |
Sets the SI unit corresponding to the lateral (X) dimension of a data brick. It does not assume a reference on
Since: 2.31 |
Sets the SI unit corresponding to the lateral (Y) dimension of a data brick. It does not assume a reference on
Since: 2.31 |
Sets the SI unit corresponding to the "height" (Z) dimension of a data brick. It does not assume a reference on
Since: 2.31 |
Sets the SI unit corresponding to the "value" of a data brick. It does not assume a reference on
Since: 2.31 |
Find the minimum value in a data brick.
Since: 2.31 |
Find the maximum value in a data brick.
Since: 2.31 |
Sets lateral and value units of a data brick to match another data brick.
Since: 2.49 |
Finds value format good for displaying coordinates of a data brick.
Since: 2.31 |
Finds value format good for displaying values of a data brick.
Since: 2.31 |
Finds value format good for displaying values of a data brick.
Since: 2.31 |
Finds value format good for displaying values of a data brick. Note this functions searches for minimum and maximum value in
Since: 2.31 |
Transforms pixel coordinate to real (physical) coordinate in x direction. That is it maps range [0..x resolution] to range [0..x real-size]. It
is not suitable for conversion of matrix indices to physical coordinates,
you have to use Brick.itor(
Since: 2.31 |
Transforms real (physical) coordinate to pixel coordinate in x axis. That is it maps range [0..x real-size] to range [0..x resolution].
Since: 2.31 |
Transforms pixel coordinate to real (physical) coordinate in y direction. That is it maps range [0..y resolution] to range [0..y real-size]. It
is not suitable for conversion of matrix indices to physical coordinates,
you have to use Brick.itor(
Since: 2.31 |
Transforms real (physical) coordinate to pixel coordinate in y axis. That is it maps range [0..y real-size] to range [0..y resolution].
Since: 2.31 |
Transforms pixel coordinate to real (physical) coordinate in z direction. That is it maps range [0..z resolution] to range [0..z real-size]. It
is not suitable for conversion of matrix indices to physical coordinates,
you have to use Brick.itor(
Since: 2.31 |
Transforms real (physical) coordinate to pixel coordinate in z axis. That is it maps range [0..z real-size] to range [0..z resolution].
Since: 2.31 |
Transforms pixel coordinate to real (physical) coordinate in z direction, taking into account calibration. Unlike Brick.ktor(), this function takes into account the
The values in the calibration are assumed to correspond to pixel centres. This convention is also kept when no calibration is present.
Since: 2.42 |
Transforms real (physical) coordinate to pixel coordinate in z axis, taking into account calibration. Unlike Brick.rtok(), this function takes into account the
The values in the calibration are assumed to correspond to pixel centres. This convention is also kept when no calibration is present.
Since: 2.42 |
Gets value at given position in a data brick. Do not access data with this function inside inner loops, it's slow.
Get raw data buffer with
Since: 2.31 |
Sets value at given position in a data brick. Do not access data with this function inside inner loops, it's slow.
Get raw data buffer with
Since: 2.31 |
Gets value at given position in a data brick, in real coordinates. Do not access data with this function inside inner loops, it's slow.
Get raw data buffer with
Since: 2.31 |
Sets value at given position in a data brick. Do not access data with this function inside inner loops, it's slow.
Get raw data buffer with
Since: 2.31 |
Gets interpolated value at arbitrary data brick point indexed by pixel coordinates. Note pixel values are centered in intervals [
Since: 2.31 |
Gets interpolated value at arbitrary data brick point indexed by pixel coordinates. Note pixel values are centered in intervals [
Since: 2.31 |
Fills a data brick with zeroes. Since: 2.31 |
Fills a data brick with specified value.
Since: 2.31 |
Multiplies all values in a data brick with a specified value.
Since: 2.31 |
Adds a specified value to all values in a data brick.
Since: 2.31 |
Extracts a plane from a data brick. One value of set ( Use Brick.extract_xy_plane() to simply extract one entire XY plane.
Since: 2.31 |
Extracts one full XY plane of a data brick to a data field.
Since: 2.52 |
Sums planes in certain direction One value of set (
Since: 2.31 |
Sums all z-profiles of a data brick to a data field. The result is an xy plane and can be alternatively imagined as the sum of all xy planes.
Since: 2.52 |
Finds minima of profiles in certain direction. One value of set (
Since: 2.32 |
Computes the minima along z-axis of a data brick to a data field. The result is an xy plane.
Since: 2.52 |
Finds minima of profiles in certain direction. One value of set (
Since: 2.32 |
Computes the maxima along z-axis of a data brick to a data field. The result is an xy plane.
Since: 2.52 |
Finds minima coordinates in profiles in certain direction. One value of set (
Since: 2.32 |
Computes the location of minima along z-axis of a data brick to a data field. The result is an xy plane.
Since: 2.52 |
Finds maxima coordinates of profiles in certain direction. One value of set (
Since: 2.32 |
Computes the location of maxima along z-axis of a data brick to a data field. The result is an xy plane.
Since: 2.52 |
Finds mean of planes in certain direction. One value of set (
Since: 2.32 |
Calculates mean values of all z-profiles of a data brick to a data field. The result is an xy plane and can be alternatively imagined as the average of all xy planes.
Since: 2.52 |
Finds rms of planes in certain direction and extract the result
(DataField). One value of set (
Since: 2.32 |
Calculates rms values of all z-profiles of a data brick to a data field. The result is an xy plane and can be alternatively imagined as the variation among xy planes.
Since: 2.52 |
Extracts a line (DataLine) from the brick. Only line orientations parallel to coordinate axes are supported now, i.e. two of the start coordinates need to be same as end ones.
Since: 2.31 |
Extracts one full Z profile of a data brick to a data line.
Since: 2.52 |
Gets the z-axis non-linear calibration of a data brick.
Since: 2.32 |
Sets the z-axis non-linear calibration of a data brick.
Since: 2.32 |
Copies non-linear z-axis calibration between two data bricks. Both bricks must have the same Z resolution. For a meaningful usage, they should also have the same Z real sizes and units (uncalibrated). If
Since: 2.52 |
Transposes a data brick, exchanging and/or flipping axes. Real dimensions and units are updated. Since real sizes cannot go backward, flipping an axis results in the corresponding offset being reset (the real dimension stays positive). If the Z axis is preserved its calibration is copied to the target; otherwise the target will have no Z axis calibration.
Since: 2.51 |
Reflects and/or inverts a data brick in place. In the case of value reflection, it's inverted about the mean value. Since real sizes cannot go backward, flipping an axis results in the corresponding offset being reset (the real dimension stays positive). Note that the axis parameter convention is different from the confusing one of DataField.invert(). Here parameters simply correspond to directions that should be flipped.
Since: 2.59 |
Fill a single plane in the brick by a two-dimensional data (DataField). One value of set (
Since: 2.51 |
Sets one full single XY plane in a data brick from data field values.
Since: 2.52 |
Adds a data field to all brick XY planes.
Since: 2.55 |
Adds a data line to all brick Z lines.
Since: 2.55 |
Extract the data of a data brick. The returned list contains a copy of the data. Changing its contents does not change the data brick's data.
|
Sets the entire contents of a data brick. The length of
|
Convenience macro doing gwy_serializable_duplicate() with all the necessary typecasting.
Since: 2.31 |
Gets pointer to data which the brick contains.
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 | http://epydoc.sourceforge.net |