Skip to main content

A VTK interface for the Open Mining Format package

Project description

Documentation Status PyPI Build Status GitHub

A VTK interface for the Open Mining Format package (omf).

Example Use

Use the wraper provided in omfvtk to wrap any omf data object:

import omfvtk

omfvtk.wrap(data)

Here’s an example using the sample data hosted in the OMF repository.

import omf
import omfvtk

# Read all elements
reader = omf.OMFReader('test_file.omf')
project = reader.get_project()

# Iterate over the elements and add converted VTK objects to dictionary:
data = dict()
for e in project.elements:
    d = omfvtk.wrap(e)
    data[e.name] = d

Credits

This package was created with Cookiecutter and the banesullivan/cookiecutter-gendocs project template.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

omfvtk-0.0.0.tar.gz (4.9 kB view hashes)

Uploaded Source

Built Distribution

omfvtk-0.0.0-py3-none-any.whl (6.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page