Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8573437
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T19:14:59+00:00 2026-06-11T19:14:59+00:00

I have a large binary file that contains all the information I want to

  • 0

I have a large binary file that contains all the information I want to plot. The data is ordered in such a way that its easiest to read into a 3D numpy array, this worked fine when I was using Mayavi to plot it using the contour3d() function. Now I’m using Paraview and I can’t find any examples of how I could accomplish the same thing. It seems like the only way to get data in is to read it directly from a file in one of many formats and not a numpy array.
Any ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T19:15:00+00:00Added an answer on June 11, 2026 at 7:15 pm

    As far as I understand, mayavi is build on tvtk, a wrapper of vtk designed for Traits support and an easier handling of NumPy.

    ParaView on the other hand is based on pure vtk, which makes it a tad less straightforward to manipulate ndarrays directly. However, some support functions are readily available:

    >>> from vtk.util import numpy_support as npvtk
    >>> vtkarray = npvtk.numpy_to_vtk(numpy_array)
    >>> numpy_array = npvtk.vtk_to_numpy(vtkarray)
    

    More reading:

    • the examples from the vtk wiki are always a good start.
    • the vtk mailing list archive can also help you.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a large raw data file (up to 1GB) which contains raw samples
I have a program that opens a large binary file, appends a small amount
I have a large binary file that represents the alpha channel for each pixel
I have a fairly large pickled (dict) file in binary format that takes few
I have a simulation that reads large binary data files that we create (10s
We have large files with zlib-compressed binary data that we would like to memory
I have a large binary file (700 Mb approximately) which I load to TMemoryStream.
If I have a large binary file (say it has 100,000,000 floats), is there
Given a really large, 3+ gig, binary file is there anyway that I could
I have a php file that acts as a gatekeeper for all the files

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.