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 0.12.0 and newer

version 0.12.0 brings experimental native support for streched grids, which is under active development upstream, in yt itself.

Slices should now work seamlessly even with older versions of yt, however yt 4.1 will be required to perform projections correctly.

update: yt_idefix 0.13.3 is the last release allowing yt 4.0.x, yt_idefix 0.14.0 requires yt 4.1

yt_idefix 0.11 and older (deprecated)

yt_idefix ships a specialized loader function for datasets with streched grids yt_idefix.load_stretched. This function is only provided as a workaround 4.0.x limitations, but it's highly limited itself:

  • 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.15.0.tar.gz (33.5 kB view details)

Uploaded Source

Built Distribution

yt_idefix-0.15.0-py3-none-any.whl (35.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: yt_idefix-0.15.0.tar.gz
  • Upload date:
  • Size: 33.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for yt_idefix-0.15.0.tar.gz
Algorithm Hash digest
SHA256 3d1bf78ff6c707f85402ff0988e6a3461fe38c4b0beed6b032dea46fd308a998
MD5 2d0f5065002bdcbaac0f440dddf9914f
BLAKE2b-256 d42088dce908e274c0bab2f03b0c1414b6ca4a052a4d6145eba308813c0db75c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: yt_idefix-0.15.0-py3-none-any.whl
  • Upload date:
  • Size: 35.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for yt_idefix-0.15.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ee5fca7f5bf0286ee1909e1d8700e13dd15b176f31f9880411207e7209a09d29
MD5 63b87d3fba5f98efb0a3f4e71b3c1f30
BLAKE2b-256 31f204a9d247cbaa43c5d608e7d3db72c821acda697296395f2dc1b8cd1788ea

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