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.6 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.3.2.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

yt_idefix-0.3.2-py3-none-any.whl (23.5 kB view details)

Uploaded Python 3

File details

Details for the file yt_idefix-0.3.2.tar.gz.

File metadata

  • Download URL: yt_idefix-0.3.2.tar.gz
  • Upload date:
  • Size: 9.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.3.2.tar.gz
Algorithm Hash digest
SHA256 d01ebedbe2e5b2a68b139fde31b811733914fdc26ff4ac0b5767caac39edfd81
MD5 b297b1c53ebbb9f9b7db6049c08bb3ed
BLAKE2b-256 9878f7931713b6dfa98c9f6fd469ab584120761aed498c69a5011de2c8d53e10

See more details on using hashes here.

Provenance

File details

Details for the file yt_idefix-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: yt_idefix-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 23.5 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.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1a4d2eb61ab82b8e2e24f72ff70362661f99b36869e84a00a8f8bb5f6d0e995d
MD5 2c44aa416685468d796b54501a0cd0a5
BLAKE2b-256 bfad92fb76d3f7a8a188fb5806fc0c42eeda76be486b16d904618825605b23a8

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