Skip to main content

An extension module for yt, adding a frontend for Idefix

Project description

yt_idefix

PyPI Supported Python Versions yt-project

pre-commit.ci status Code style: black Imports: isort

A maturing yt frontend for Idefix, packaged as an extension for yt. This frontend is a candidate for integration in the core yt code base.

Installation

Make sure you have Python 3.7 or newer, then run

python3 -m pip install yt_idefix

If you don't already have yt it will be installed along.

Usage

After importing yt itself, make sure to activate the extension

import yt
import yt.extensions.idefix

Then you should be able to load Idefix data seamlessly with yt.load.

Current limitations

As of version 0.3.1 of this project, the frontend allows one to read Idefix's dumpfiles only, through the IdefixDmpDataset class. IdefixVtkDataset may be implemented in the future, but won't be usable directly with yt.load before the next yt bugfix release is available (see bellow).

The IdefixDmpDataset class is functional but far from optimized, it may take much longer than strictly needed to perform queries. This will be adressed in the future.

As of yt 4.0.1:

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

yt_idefix-0.4.0.tar.gz (23.2 kB view hashes)

Uploaded Source

Built Distribution

yt_idefix-0.4.0-py3-none-any.whl (23.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