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.

Source Distribution

xyzpy-0.2.3.tar.gz (91.0 kB view hashes)

Uploaded Source

Built Distribution

xyzpy-0.2.3-py3-none-any.whl (81.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page