Skip to main content

Parameter sweeper for ui.json powered applications

Project description

Param-sweeps

A Parameter sweeper for applications driven by ui.json files

This package contains two main modules. One is for generating sweep files, and the other is to run a sweep over some number of parameters in a driver application.

Basic Usage

To generate a sweep file from a ui.json file for an existing application, use the following command:

python -m param_sweeps.generate some_file.ui.json

This will create a new some_file_sweep.ui.json file that may be run with:

python -m param_sweeps.driver some_file_sweep.ui.json

By default, this would execute a single run of the original parameters. To design a sweep, simply drag the some_file_sweep.ui.json file into the Geoscience ANALYST Pro session that produced the original file and select start, end, and number of samples values for parameters that you would like to sweep.

To organize the output, param-sweeps uses a UUID file naming scheme, with a lookup.json file to map individual parameter sets back to their respective files.

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

param_sweeps-0.1.6.tar.gz (6.5 kB view hashes)

Uploaded Source

Built Distribution

param_sweeps-0.1.6-py3-none-any.whl (8.2 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