Skip to main content

Easily generate large parameter space data

Project description

https://travis-ci.org/jcmgray/xyzpy.svg?branch=master https://codecov.io/gh/jcmgray/xyzpy/branch/master/graph/badge.svg LGTM Grade Documentation Status

xyzpy is python library for efficiently generating, manipulating and plotting data with a lot of dimensions, of the type that often occurs in numerical simulations. It stands wholly atop the labelled N-dimensional array library xarray. The project’s documentation is hosted on readthedocs.

The aim is to take the pain and errors out of generating and exploring data with a high number of possible parameters. This means:

  • you don’t have to write super nested for loops
  • you don’t have to remember which arrays/dimensions belong to which variables/parameters
  • you don’t have to parallelize over or distribute runs yourself
  • you don’t have to worry about loading, saving and merging disjoint data
  • you don’t need to guess when a set of runs is going to finish

As well as the ability to automatically parallelize over runs, xyzpy provides the Crop object that allows runs and results to be written to disk, these can then be run by any process with access to the files - e.g. a batch system - or just serve as a convenient persistent progress mechanism.

In terms of post-processing, as well as all the power of xarray, xyzpy adds uneven step differentiation and error propagation, filtering and interpolation - along any axis just specified by name.

The aim of the plotting functionality is to keep the same interface between interactively plotting the data using bokeh, and static, publication ready figures using matplotlib, whilst being able to see the dependence on up to 4 dimensions at once.

docs/ex_simple.png

Please see the docs for more information.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for xyzpy, version 0.3.1
Filename, size File type Python version Upload date Hashes
Filename, size xyzpy-0.3.1-py3-none-any.whl (84.9 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size xyzpy-0.3.1.tar.gz (94.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page