Skip to main content

An extension module for yt, adding a frontend for Idefix

Project description

yt_idefix

PyPI PyPI yt-project

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

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

Installation

pip install yt_idefix

Usage

After importing yt itself, make sure to activate the extension

import yt
import yt_idefix

Now yt.load will be able to read Pluto/Idefix .vtk output files, as well as Idefix .dmp dump files.

Strecthed grids support

yt_idefix ships a specialized loader function for datasets with streched grids yt_idefix.load_stretched. This function is experimental. Here are its known limitations.

  • no field magic (no aliasing, or dimensionalization, or automatic derived field generation)
  • no lazy loading (all data has to reside in memory)
  • projections are not supported
  • only supports vtk outputs (not dumps)

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

Uploaded Source

Built Distribution

yt_idefix-0.11.0-py3-none-any.whl (33.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: yt_idefix-0.11.0.tar.gz
  • Upload date:
  • Size: 31.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

File hashes

Hashes for yt_idefix-0.11.0.tar.gz
Algorithm Hash digest
SHA256 bfd5690ac07ef8c84eb2dfddcd400009640d6defc2dc163932873895ef2a4739
MD5 79ca0dc0d62509f32fbb8e8647f936f4
BLAKE2b-256 d64d105586101017da75df3632848494829157dedf3c5c4d9becf15c6e8afd36

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: yt_idefix-0.11.0-py3-none-any.whl
  • Upload date:
  • Size: 33.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

File hashes

Hashes for yt_idefix-0.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 88a659449cf3e4cf0925cd86b8b3bd422f6aa6a785d95fa63f5adea61b4cf9fe
MD5 2e219f569a980c47f2062e1ec34fd021
BLAKE2b-256 872b6b4b56c24370d26d0286b2288519fc6d432073ef182f495a49f0f98cda84

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