An extension module for yt, adding a frontend for Idefix
Project description
yt_idefix
A maturing yt frontend for Idefix, packaged as an extension for yt. This frontend is a candidate for integration in the core yt code base.
Installation
pip install yt_idefix
Usage
After importing yt
itself, make sure to activate the extension
import yt
import yt_idefix
Single dump files as well as time series can be loaded directly with yt.load
, e.g.,
ds = yt.load("dump.0054.dmp")
ts = yt.load("dump.00??.dmp")
For vtk files, with yt < 4.0.2, a specialized loader function is provided
ds = yt_idefix.load("data.0042.vtk")
With yt >= 4.0.2 (not released yet), this workaround will not be necessary and yt.load
will be usable directly.
Strecthed grids support
yt_idefix comes a specialized loader function for datasets with streched grids
yt_idefix.load_stretched
. This function is experimental. Here are its known
limitations.
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file yt_idefix-0.7.2.tar.gz
.
File metadata
- Download URL: yt_idefix-0.7.2.tar.gz
- Upload date:
- Size: 27.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28d832e3c5700ae1d9c7e6dd9601a21738c56ae68fb1eaded977320774d0e598 |
|
MD5 | c4aed52def2bf4824d7ddfb6bc994304 |
|
BLAKE2b-256 | c3c265aba159acbbd09ee821a146e0eda6bcd8b9e29b56f1d2b8137d07805da5 |
File details
Details for the file yt_idefix-0.7.2-py3-none-any.whl
.
File metadata
- Download URL: yt_idefix-0.7.2-py3-none-any.whl
- Upload date:
- Size: 28.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2c5c09dad98a22000e43f056c5514f9e62e9511aee5f9cdbf0cfb6ae0acf55d |
|
MD5 | 73801c3c455e33319d93885d001f22f9 |
|
BLAKE2b-256 | 2ae46c2709356d7135c6b0f74d5e6659e84b584310e3039a61e270bcfe364120 |