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

Uploaded Source

Built Distribution

yt_idefix-0.16.2-py3-none-any.whl (35.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: yt_idefix-0.16.2.tar.gz
  • Upload date:
  • Size: 33.8 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.2.tar.gz
Algorithm Hash digest
SHA256 c259a246df2224e18fa57341915755cf72b0d87484567872fb29f33c50d1527f
MD5 d62862875b8ef1b7b96012a0597f2525
BLAKE2b-256 1a21a6c300343412a60c7a2ebfe9237da9d3fd19834d84d5d261f77874aa525e

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: yt_idefix-0.16.2-py3-none-any.whl
  • Upload date:
  • Size: 35.5 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6ded2e6876abb4aaaefdd4859fc1c8bcf424608515f76b9e3af954506b78a459
MD5 8068347ce64fb9df10d5dcdb833b2277
BLAKE2b-256 cdfc856801f10588d68d888595739126749edfa0cd66fc6c63eb6d1573522601

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