dubourg / python-randomfields Goto Github PK
View Code? Open in Web Editor NEWA Python module that implements tools for the simulation and identification of random fields using the Karhunen-Loeve expansion representation.
A Python module that implements tools for the simulation and identification of random fields using the Karhunen-Loeve expansion representation.
Hello.
I want to know how the code could be modified if the random space is asymmetric for KL expansion.
Thanks a lot!
D:\anaconda3\lib\site-packages\openturns\func.py in init(self, *args)
1112
1113 def init(self, *args):
-> 1114 _func.EnumerateFunction_swiginit(self, _func.new_EnumerateFunction(*args))
1115 swig_destroy = _func.delete_EnumerateFunction
1116
TypeError: Wrong number or type of arguments for overloaded function 'new_EnumerateFunction'.
Possible C/C++ prototypes are:
OT::EnumerateFunction::EnumerateFunction()
OT::EnumerateFunction::EnumerateFunction(OT::EnumerateFunctionImplementation const &)
OT::EnumerateFunction::EnumerateFunction(OT::EnumerateFunction::Implementation &)
OT::EnumerateFunction::EnumerateFunction(OT::EnumerateFunction const &)
As of openturns 1.4, reference interfaces have been removed, so that there is no more need for passing weights
to the getNodesAndWeights
method.
Hello,
I have tried to used the code for my database and it seems to me that there is an error relating to nodes of polynomials.
U, W = polynoms.getNodesAndWeights(
ot.Indices([legendre_quadrature_order] * dimension * 2))
would create nodes U independent of the domain of definition. Thus
X = np.repeat(scale, 2) * U + np.repeat(shift, 2)
would create X which exceed the domain of definition. In consequence, we would get nan for matrix C.
Could you please try to fix this problem? Thank you in advance.
2D_sample_paths.txt
1D_sample_paths.txt
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.