v1.3.3 'Pure Pink'
Release Notes
This release comes with a new storage framework for all Field classes and a better transform sub-module.
Installation
You can install GSTools with conda:
conda install -c conda-forge gstools
or with pip:
pip install gstools
Documentation
The documentation can be found at: https://gstools.readthedocs.io/
What's new?
Enhancements
See: #197
gstools.transform
:- add keywords
field
,store
,process
andkeep_mean
to all transformations to control storage and respectnormalizer
- added
apply_function
transformation - added
apply
as wrapper for all transformations - added
transform
method to allField
(sub)classes as interface totransform.apply
- added checks for normal fields to work smoothly with recently added
normalizer
submodule
- add keywords
Field
:- allow naming fields when generating and control storage with
store
keyword - all subclasses now have the
post_process
keyword (apply mean, normalizer, trend) - added subscription to access fields by name (
Field["field"]
) - added
set_pos
method to set position tuple - allow reusing present
pos
tuple - added
pos
,mesh_type
,field_names
,field_shape
,all_fields
properties
- allow naming fields when generating and control storage with
CondSRF
:- memory optimization by forwarding
pos
from underlyingkrige
instance - only recalculate kriging field if
pos
tuple changed (optimized ensemble generation)
- memory optimization by forwarding
- performance improvement by using
np.asarray
instead ofnp.array
where possible - updated examples to use new features
- added incomplete lower gamma function
inc_gamma_low
(for TPLGaussian spectral density) - filter
nan
values fromcond_val
array in all kriging routines #201
Bugfixes
inc_gamma
was defined wrong for integers < 0