Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 2.17 KB

analyzers.rst

File metadata and controls

41 lines (27 loc) · 2.17 KB

Introduction to analyzers

The analyzers and examples in provide support for the MapReduce framework, where you can process large data sets in parallel, typically on a high-performance computing (HPC) cluster. The MapReduce framework includes two primary phases, Map and Reduce. Map takes input data, as key:value pairs, and creates an intermediate set of key:value pairs. Reduce takes the intermediate set of key:value pairs and transforms the data (typically reducing it) as output containing a final set of key:value pairs.

An example of this process with is to use the simulation output data as the input data (key:value pairs), filter and sort a subset of the data to focus on, and then combine and reduce the data to create the final output data.

image

The analyzers included with help facilitate this process. For example, if you would like to focus on specific data points from all simulations in one or more experiments then you can do this using analyzers with and plot the final output.

image

The analysis framework expects simulation output in CSV, JSON, XLSX, or TXT to be automatically loaded to a Python object. All other formats are loaded as a raw binary stream. The format indicated by the filename of the simulation output determines the data format loaded to the analyzers.

Output format Object loaded to analyzer
JSON A dictionary
CSV A pandas DataFrame
XLSX A pandas DataFrame
TXT An rstring
All other files A bytes object

Example analyzers are inlucded with to help you get started. For more information, see analyzers-example.

You can also create custom analyzers to meet your individual analysis needs. For more information, see analyzers-create.

Integration with increases the performance of running analyzers. You may find this useful when running multiple analyzers across multiple experiments.

analyzers-example analyzers-create analyzers-ssmt analyzers-convert