The image originates from a photograph of an actual pancake.
The image was cropped to an 500x500 pixel extent keeping the
center of the original photograph.
If you use this example somewhere else, please cite
SciKit-GStat [502]_, as it is distributed with the library.
The image originates from a photograph of an actual pancake.
The image was cropped to an 500x500 pixel extent keeping the
center of the original photograph.
If you use this example somewhere else, please cite
SciKit-GStat [501]_, as it is distributed with the library.
This image was created using gstools.SRF.
The spatial random field was created using a Gaussian model
and has a size of 500x500 pixel. The created field
was normalized and rescaled to the value range of a
uint8.
The spatial model includes a small nugget (~ 1/25 of the value range).
If you use this example somewhere else, please cite
SciKit-GStat [501]_, as it is distributed with the library.
Image of a greyscale image with geometric anisotropy.
The anisotropy has a North-Easth orientation and has
a approx. 3 times larger correlation length than in
the perpendicular orientation.
Returns:
result – Dictionary of the sample and a citation information.
The sample a numpy array representing the image.
This image was created using gstools.SRF.
The spatial random field was created using a Gaussian model
and has a size of 500x500 pixel. The created field
was normalized and rescaled to the value range of a
uint8.
The spatial model includes a small nugget (~ 1/25 of the value range).
If you use this example somewhere else, please cite
SciKit-GStat [501]_, as it is distributed with the library.
The example data was taken from the R package ‘sp’
as published on CRAN: https://cran.r-project.org/package=sp
The package is licensed under GPL-3, which applies
to the sample if used somewhere else.
If you use this sample, please cite the original sources
[502]_, [503] and not SciKit-GStat.
Returns random cross-correlated variables assigned to random coordinate
locations. These can be used for testing cross-variograms, or as a
random benchmark for cross-variograms in method development, aka. does
actual correlated data exhibit different cross-variograms of random
variables of the same correlation coefficient matrix.
Parameters:
size (int) – Length of the spatial sample. If coordinates are supplied, the
length has to match size.
means (List[float]) – Mean values of the variables, defaults to two variables with
mean of 1. The number of means determines the number of
variables, which will be returned.
vars (List[float]) – Univariate variances for each of the random variables.
If None, and cov is given, the diagonal of the correlation
coefficient matrix will be used. If cov is None, the
correlation will be random, but the variance will match.
If vars is None, random variances will be used.
cov (list, float) – Co-variance matrix. The co-variances and variances for all
created random variables can be given directly, as matrix of shape
(len(means),len(means)).
If cov is a float, the same matrix will be created using the same
co-variance for all combinations.
coordinates (np.ndarray) – Coordinates to be used for the sample. If None, random locations
are created.
seed (int) – Optional. If the seed is given, the random number generator is
seeded and the function will return the same sample.
Returns:
result – Dictionary of the sample and a citation information.