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.1.0 of this project, the frontend allows one to read Idefix's dumpfiles only, through the IdefixDumpDataset 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 IdefixDumpDataset 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.1.2.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

yt_idefix-0.1.2-py3-none-any.whl (21.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: yt_idefix-0.1.2.tar.gz
  • Upload date:
  • Size: 7.8 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.6

File hashes

Hashes for yt_idefix-0.1.2.tar.gz
Algorithm Hash digest
SHA256 77c6ea478ee3518eee4fc5da142f7fd604b60138ce25279f31f309f95920b0aa
MD5 d82a2b28ecf433489768a0a28c0a2b2b
BLAKE2b-256 dc51f2318b47ccb3239e45c5fbfeaf6d7fd01e07ed8822e893cb371aaa98f66e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: yt_idefix-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 21.4 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.6

File hashes

Hashes for yt_idefix-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c223b657cb5dcf3475d0b2cdad0f9fe263c032bde71e91f179e7ecbd90e64cd3
MD5 150ddd7b83c1f06a6049d02a04251505
BLAKE2b-256 7f8c862a26aab6001481b79ef71cd415d263edc0b7f40b77f95f878cce6c9651

See more details on using hashes here.

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