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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for yt_idefix-1.1.1.tar.gz
Algorithm Hash digest
SHA256 a00d274e6b528bf8e8c9410d568b310037194795d863e01800e8a97191b55951
MD5 dbb20da0f0cebfac07a21437be3a9d23
BLAKE2b-256 aac41b62682dc784b1068f8ed242e78e2f7cff7f8c11303484ce675c3916fc9d

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for yt_idefix-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 baee0ffb97fb5ee3d0aee0038abfb566404bef288a9bce82ddccacab3b62102e
MD5 5f8f8b3690a43773589f0cfe33a1901f
BLAKE2b-256 a77a2d6fc59ed08ae95577270b2077de95bd25f4fe236d200ec7ef1f13ff8065

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