Easily generate large parameter space data
Project description
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.
Please see the docs for more information.
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.