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

Uploaded Source

Built Distribution

yt_idefix-1.1.0-py3-none-any.whl (38.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for yt_idefix-1.1.0.tar.gz
Algorithm Hash digest
SHA256 7a02ac07beb6d4248529a17a1c52e58605e2af27b78ae75302d20dd84a70f91b
MD5 eb35708b13a2715b150ef489a90baf66
BLAKE2b-256 6601f63c7028426908acc96e1d5ebedb11d4d0c94ca4e8ae92a8ae9f74f67f2d

See more details on using hashes here.

Provenance

File details

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

File metadata

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

File hashes

Hashes for yt_idefix-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 de8e44dafd8caee01eb4e99472508d0eacd8fc82e194d9ade4b003b9d8b37f48
MD5 f2d29fe52b08249b203317478c070563
BLAKE2b-256 2790cbd36cec9d7da3ef4863fe2671620dc5e04cb6648a21ed248c206f1b464b

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