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.
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 supportsyt.SlicePlot
for streched gridsyt>=4.1.0
is required fromyt.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
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.16.1.tar.gz
.
File metadata
- Download URL: yt_idefix-0.16.1.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53c8d7ae550d39d1b297a819797f167e4168e6814d000e2fe8a299924f7a1940 |
|
MD5 | ee0a433a80c8c4009c957e748a9060f7 |
|
BLAKE2b-256 | bf596694efdcd1d514a7e28df168ed6ad7010c3a0e4603fab56b0020eca32eaa |
File details
Details for the file yt_idefix-0.16.1-py3-none-any.whl
.
File metadata
- Download URL: yt_idefix-0.16.1-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0da1be69a374a5a69649578a0ba9bb5193024063ff3602565c4c54f6b3abb6a |
|
MD5 | 526381d887fc64c5f1646cafc58f7a0c |
|
BLAKE2b-256 | 71ba11923d2faf54a1e63b65c6594dd85c3dba45127ec412e093c00850407842 |