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 Ruff

A maturing yt frontend for Idefix and Pluto, packaged as an extension for yt.

Installation

python -m 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 output files.

Supported formats

Code format supported since additional dependencies
Idefix .dmp v0.1.0
Idefix .vtk v0.3.0
Pluto .vtk v0.9.0
Pluto XDMF v1.1.0 h5py

Experimental features

Seamless plugin support

new in yt 4.2 (unreleased) + yt_idefix 0.16

yt>=4.2 supports automatic loading for external frontends, i.e., the extra import line (import yt_idefix) will not be needed with this version.

This feature is marked as experimental until yt 4.2.0 is released. In the mean time, this feature can be enabled by installing yt from source as, i.e.,

python -m pip install git+https://github.com/yt-project/yt.git

Strecthed grids support

new in yt 4.1 + yt_idefix 0.12

  • yt_idefix>=0.12.0 natively supports yt.SlicePlot for streched grids
  • yt>=4.1.0 is required from yt.ProjectionPlot

Streched grids support is considered experimental as of yt 4.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-1.1.1.tar.gz (38.8 kB view hashes)

Uploaded Source

Built Distribution

yt_idefix-1.1.1-py3-none-any.whl (38.5 kB view hashes)

Uploaded Python 3

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