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
Hashes for yt_idefix-0.7.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3335968d4d349e09eb7bc3849b5c8163f94f9a3dfdfd687e9497eb2e2abe2d80 |
|
MD5 | 15cf2ebceec5a27a0eaa493aebfead66 |
|
BLAKE2b-256 | 5d727130c60800f030a713dbfc3e7fd0a948504318f431eda2632dbb841928ab |