-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3D processing issue #13
Comments
Hi Kiran, All rasterization routines are forwarded to KonigCell; there used to be a problem in konigcell-0.1.0 with skipping NaNs when they appear in specific orders - this might be it. Could you check this:
Then could you install the in-development GitHub version of
If the error still persists, please post your code in a comment and I'll try to figure it out. Leonard |
Hi Leonard, Thanks for getting back to me, when I check the Konigcell version it says 0.2.0, and then after installing the Github version (which I think I should have already had) that still says 0.2.0 and I have the same problem. I have put the code I am running for my analysis below this, with first a 2D vector field that works ok, and then the 3D vector field that fails. Kiran import pept import plotly filepath1 = "E:\GlobusFolder\Day3\4000\3_4000_1_0.lors" lors_raw1 = np.fromfile(filepath1, np.float32).reshape(-1, 7) lors = pept.LineData( filepath=filepath1.split(".lors")[0] pipeline = pept.Pipeline([
]) trajectories = pipeline.fit(lors) field = VectorField2D(1, ["vx", "vz"], "xz").fit(trajectories) scaling = 2 field = VectorField3D(1).fit(trajectories) scaling = 1.5 |
Using the functions for the 2D processing for vector fields, residence dist. and dynamic prob. works fine and I can get plots from them, but when I try to use the 3D functions, such as VectorField3D(), it starts step 1/3 but then just stops running without giving an error. I have tried to follow the point the where the code was stopping and it seems to be within the konigcell file ‘compute3d.py’ and specifically when it calls the ‘kc3d.dynamic3d’ function.
Should these 3D plots be working, or are they still being developed? But if they should work, do you have any ideas about what could be going wrong here, it might just be something on my end instead of an issue with the code?
The text was updated successfully, but these errors were encountered: