Year: 2018
Type: article
Abstract: We present a new Python library, calledvaex, intended to handle extremely large tabular datasets such as astronomical catalogues like theGaiacatalogue,N-body simulations, or other datasets which can be structured in rows and columns. Fast computations of statistics on regularN-dimensional grids allows analysis and visualization in the order of a billion rows per second, for a high-end desktop computer. We use streaming algorithms, memory mapped files, and a zero memory copy policy to allow exploration of datasets larger than memory, for example out-of-core algorithms.Vaexallows arbitrary (mathematical) transformations using normal Python expressions and (a subset of)numpyfunctions which are “lazily” evaluated and computed when needed in small chunks, which avoids wasting of memory. Boolean expressions (which are also lazily evaluated) can be used to explore subsets of the data, which we call selections.Vaexuses a similar DataFrame API as Pandas, a very popular library, which helps migration from Pandas. Visualization is one of the key points ofvaex, and is done using binned statistics in 1d (e.g. histogram), in 2d (e.g. 2d histograms with colourmapping) and 3d (using volume rendering).Vaexis split in in several packages:vaex-corefor the computational part,vaex-vizfor visualization mostly based on matplotlib,vaex-jupyterfor visualization in the Jupyter notebook/lab based in IPyWidgets,vaex-serverfor the (optional) client-server communication,vaex-uifor the Qt based interface,vaex-hdf5forHDF5based memory mapped storage,vaex-astrofor astronomy related selections, transformations, and memory mapped (column based)FITSstorage.
Source: Astronomy and Astrophysics
Authors: Maarten A. Breddels, Jovan Veljanoski
Institution: University of Groningen
Language: English
Subfield: Software
Field: Computer Science
Domain: Physical Sciences
Open Access status: bronze
Funder: European Space Agency
OpenAlex ID: W2783734440
