Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

pyJHTDB

Python wrapper for the JHU Turbulence Database Cluster library. More information can be found at http://turbulence.pha.jhu.edu/.

Installing

In theory setuptools should take care of everything so that the package is installed properly, but I noticed that it doesn’t.

ubuntu 14.04

Bare-bone installation:

sudo apt-get install build-essential gfortran
sudo apt-get install python-setuptools
sudo apt-get install python-dev
sudo easy_install numpy
sudo python setup.py install

Note that doing this should, in principle, also install sympy on your system, since it’s used by pyJHTDB.

Happy fun installation:

sudo apt-get install build-essential gfortran
sudo apt-get install python-setuptools
sudo apt-get install python-dev
sudo apt-get install libpng-dev libfreetype6-dev
sudo apt-get install libhdf5-dev
sudo easy_install numpy
sudo easy_install h5py
sudo easy_install matplotlib
sudo python setup.py install

Please note that before you run sudo python setup.py install, you will need to edit the turblib-20140606/turblib.c file: on line 53, please add a comma after the closing curly brace, before the //.

I haven’t tested the installation on any other system, but I think reasonable variations on the above should work for the minimal installation on all unix systems (i.e. for MacOS as well). If you manage to get it working (i.e. you import test_plain like the README says and you can run it), please let me know what steps you needed to take for your system, so I can append the instructions to this file.

Basic usage

Although this particular Python wrapper is still a work in progress, it is mature enough to be used in production work.

On first contact with this library, we recommend that you first run “test_plain”. To be more specific:

>>> from pyJHTDB import test_plain
>>> test_plain()

The code that is executed can be found in “pyJHTDB/test.py”, and it’s the simplest example of how to access the turbulence database.

Metadata

Release files for pyJHTDB 20141031

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyJHTDB 20141031
File Size Uploaded
pyJHTDB-20141031.tar.gz 698.0 kB Details

Release files / pyJHTDB-20141031.tar.gz

Download URL pyJHTDB-20141031.tar.gz
Size 698.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c4d652c15a0849af69ef0b2bdcd9e353bc8a50534aecc5a5b32c862f6814d591
BLAKE2b-256 checksum
How to use checksums
b9b90f38a1f07f9315a28fae780f867824df138f1ea79c2330821a898b0736ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page