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.post1.tar.gz (23.3 kB view details)

Uploaded Source

Built Distribution

yt_idefix-0.4.0.post1-py3-none-any.whl (23.8 kB view details)

Uploaded Python 3

File details

Details for the file yt_idefix-0.4.0.post1.tar.gz.

File metadata

  • Download URL: yt_idefix-0.4.0.post1.tar.gz
  • Upload date:
  • Size: 23.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7

File hashes

Hashes for yt_idefix-0.4.0.post1.tar.gz
Algorithm Hash digest
SHA256 1c06a8d005c90925533141c1e7e413723c9cb8d111bff1cdae1dfff43619a905
MD5 a5b3669a1df37c40824ba94ee953bc37
BLAKE2b-256 4621d3272065db93614e6e521171cb5a081610e56ae0be84abea210eebf623e8

See more details on using hashes here.

Provenance

File details

Details for the file yt_idefix-0.4.0.post1-py3-none-any.whl.

File metadata

  • Download URL: yt_idefix-0.4.0.post1-py3-none-any.whl
  • Upload date:
  • Size: 23.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7

File hashes

Hashes for yt_idefix-0.4.0.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 0f1d37d10f8f779c7389a63c6ad46f197993a6eb0b1f0b863833d29e9d5a9fc3
MD5 48df6b3a3b4521e8fcf0c9dc8ad1266a
BLAKE2b-256 2d336ed034351a4b10e325b3ec909fe3371e25be9b350c9e60c76e8048e46373

See more details on using hashes here.

Provenance

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