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.

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 .vtk output files, as well as Idefix .dmp dump files.

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

Uploaded Source

Built Distribution

yt_idefix-1.0.0-py3-none-any.whl (34.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for yt_idefix-1.0.0.tar.gz
Algorithm Hash digest
SHA256 2b7bfb77d53caa85547e87753f3b400989151bd4f280b8d6ec49aa2bd1b36d5c
MD5 804e19a92ef1d6117d488100101c69e0
BLAKE2b-256 0244987887c34befd9a17597a7e7a93043b8cf6573a7124a35c8e0f1edb53ca1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: yt_idefix-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 34.0 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-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b12e03fad3ec9b39e67fe4dbddbc4cd3eaca8bef23e448eb005322b3ed19cb67
MD5 cfda788a094a4345e5d9b2258f4f3c55
BLAKE2b-256 376586f960efc534bec2cc8bf40cf45b8eaf44a1b19bb203b1f71c586be5df02

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