Comments (7)
That's surprising. It sounds like this may likely be caused by trying to plot the results. If you comment out the plot commands in the 3D case, does it run?
from pykriging.
Hi capaulson, yes runs fine if I comment out the plot. I'm running ubuntu not windows is this likely to cause issues?
from pykriging.
In a python terminal, can you run:
import mayavi.mlab as mlab
Please post the results.
from pykriging.
`darren@darren-VirtualBox:~$ python
Python 2.7.13 (default, Jan 19 2017, 14:48:08)
[GCC 6.3.0 20170118] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import mayavi.mlab as mlab
`
Nothing else output, Cheers Darren
just noticed that after posting this didn't format as expected but to clarify no errors or other text was outputted to the console
from pykriging.
Can you try running this:
# Create the data.
from numpy import pi, sin, cos, mgrid
dphi, dtheta = pi/250.0, pi/250.0
[phi,theta] = mgrid[0:pi+dphi*1.5:dphi,0:2*pi+dtheta*1.5:dtheta]
m0 = 4; m1 = 3; m2 = 2; m3 = 3; m4 = 6; m5 = 2; m6 = 6; m7 = 4;
r = sin(m0*phi)**m1 + cos(m2*phi)**m3 + sin(m4*theta)**m5 + cos(m6*theta)**m7
x = r*sin(phi)*cos(theta)
y = r*cos(phi)
z = r*sin(phi)*sin(theta)
# View it.
from mayavi import mlab
s = mlab.mesh(x, y, z)
mlab.show()
This is a demo from Mayavi (http://docs.enthought.com/mayavi/mayavi/mlab.html). Does it plot?
from pykriging.
Hi, sorry I have been away a while. No this didn't plot, I expected it to fail at the plotting stage however if failed at the s = mlab.mesh(x, y, z) stage with error: 'Segmentation fault (core dumped)'
from pykriging.
Right, so this sounds like an issues with your install of mayavi. It could be just an issue with the install, so you could try rebuilding/re-installing the library. It might also have something to do with virtualbox. Not sure exactly how mayavi works on a virtual box.
I'm going to close this out, as this is an issue related for another library.
from pykriging.
Related Issues (20)
- Documentation for your library HOT 1
- Prediction with multiple inputs HOT 4
- It starts to predict the same value as I increase sample number to predict HOT 3
- How could I output the predicted array as a numpy array? HOT 2
- Regression Kriging not able to use the optimizer option when called from MATLAB HOT 1
- How to save the result as picture HOT 4
- How to save the trained Kriging Model? HOT 1
- PyKriging Documentation HOT 1
- n-dimensional Kriging HOT 1
- How do I save the trained model? HOT 1
- Optimizer of krige and regressionkrige HOT 1
- How the code works? What is sp, X, y and testfun? HOT 1
- Regression kringe HOT 1
- How to save the trained model for later recall?
- N dimension kriging model
- the problem of k.plot()
- -
- How to use Cokriging algorithm? HOT 3
- The website could not be visited? HOT 2
- CoKiging HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pykriging.