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

Deprecated features

will be removed in yt_idefix 1.0

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

Uploaded Source

Built Distribution

yt_idefix-0.16.0-py3-none-any.whl (35.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: yt_idefix-0.16.0.tar.gz
  • Upload date:
  • Size: 33.7 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.16.0.tar.gz
Algorithm Hash digest
SHA256 e9b6e5a93af25e11ef5e695df4d14618dc85162049ceef26d6afcfc8ff0c3b12
MD5 a3c5e824f04b3b034dd41563e8f18459
BLAKE2b-256 7e7850d8446135d1b43f6c5289cbd6893cc2dae4f6f5d709ca2c8249af6e0ed1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: yt_idefix-0.16.0-py3-none-any.whl
  • Upload date:
  • Size: 35.4 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.16.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9dc77d3fed9d10961623b33a5ba9ef196649c1ff0164dac6bd5b66531968ce62
MD5 fdcc4c6bb8de4ee35b4400994e6f12bc
BLAKE2b-256 ac7cbf2ab430fba41ef0250d47f94e09df27faa29a4341ea785ed1fd7183b423

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