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

Uploaded Source

Built Distribution

yt_idefix-0.1.1-py3-none-any.whl (21.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: yt_idefix-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 c8f9b510b6c1c4e2ac4e805e69c8ae99f849844c91405ea4d1a6295e8f509810
MD5 a2931ef90b7b1fa25a185db8eb452937
BLAKE2b-256 2635fe57acb7440e2e274cfe962aba31fd6035c15c6f22304058a660dabf8c0c

See more details on using hashes here.

Provenance

File details

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

File metadata

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

File hashes

Hashes for yt_idefix-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3c639b43226205d464261a8008e71b55a8fa0f33fa9fb9b56d141183953372e0
MD5 f019d5adb693560c9fbcc49a87e2153c
BLAKE2b-256 b9f2455ad948aa2d6f77d02b2bec7523fbb965ed46ccebe4c8ceda01bd839f94

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