An extension module for yt, adding a frontend for Idefix
Project description
yt_idefix
A maturing yt frontend for Idefix and Pluto (vtk), 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
Now yt.load
will be able to read Pluto/Idefix .vtk
output files, as well as Idefix .dmp
dump files.
Strecthed grids support
yt_idefix 0.12.0 and newer
version 0.12.0 brings experimental native support for streched grids, which is under active development upstream, in yt itself.
Slices should now work seamlessly even with older versions of yt, however yt 4.1 (to be released) will be required to perform projections correctly.
In the meantime, I recommend installing yt from source. At the time of writing, the branch attached to the following pull request is required for projections with stretched grids:
https://github.com/yt-project/yt/pull/2998
yt_idefix 0.11 and older (deprecated)
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
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.13.4.tar.gz
.
File metadata
- Download URL: yt_idefix-0.13.4.tar.gz
- Upload date:
- Size: 35.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6386f2a7c77109552478dd1a93de97862ad86f5988757575ce0a2443cc80c1db |
|
MD5 | f16751fb2db798be67abf47c39594fbc |
|
BLAKE2b-256 | 5cbe3e8ac7e7dccd2f48e4cd801bf752ffcccfb4df9fa14761cd1a7cfa13ac03 |
File details
Details for the file yt_idefix-0.13.4-py3-none-any.whl
.
File metadata
- Download URL: yt_idefix-0.13.4-py3-none-any.whl
- Upload date:
- Size: 37.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c81aebfe78d898c93a3973d27a2a5b0966d028f78b57baad2d0d524423a70f6 |
|
MD5 | 4054006af72520fd3f53194f568d8ca1 |
|
BLAKE2b-256 | 11873edfeb8e5e810d9558f02bcc1e7b931abe42315147f01637b7d3f9dff038 |