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
Make sure you have Python 3.7 or newer, then run
python3 -m pip install yt_idefix
If you don't already have yt it will be installed along.
Usage
After importing yt itself, make sure to activate the extension
import yt
import yt.extensions.idefix
Then you should be able to load Idefix data seamlessly with yt.load.
Current limitations
As of version 0.3.1 of this project, the frontend allows one to read Idefix's
dumpfiles only, through the IdefixDmpDataset class. IdefixVtkDataset may be
implemented in the future, but won't be usable directly with yt.load before
the next yt bugfix release is available (see bellow).
The IdefixDmpDataset class is functional but far from optimized, it may take
much longer than strictly needed to perform queries. This will be adressed in
the future.
As of yt 4.0.1:
- Non-uniform grids (using log spacing) are not supported, which makes this frontend of very limited use for Idefix.
yt.load()is not suitable for vtk files that are not produced by Athena. https://github.com/yt-project/yt/issues/3001 This bug is however resolved on the main branch (https://github.com/yt-project/yt/pull/3424)
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file yt_idefix-0.4.0.tar.gz.
File metadata
- Download URL: yt_idefix-0.4.0.tar.gz
- Upload date:
- Size: 23.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
04413374b44713c3ad487a5fca3ad28a0276ffbf1b01d73ff342c701d3cc8190
|
|
| MD5 |
0ba6d2629ece9de848bbbf75725bae85
|
|
| BLAKE2b-256 |
160516acaaaa74102b958035af0a7bcdfaa94ae7f2a9c28a0c5e854b9578c11b
|
File details
Details for the file yt_idefix-0.4.0-py3-none-any.whl.
File metadata
- Download URL: yt_idefix-0.4.0-py3-none-any.whl
- Upload date:
- Size: 23.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ff8b06f3aba79357402a62d3bce03df9bbe33e3149febe6d82afb2e9ab5963c
|
|
| MD5 |
1e27907d74081bda12e7e37c17c113ae
|
|
| BLAKE2b-256 |
af0288d6098d16cde27f723595e3f16cc5ea23a77cb548d052afd089d4dc7713
|