Skip to main content

Parameter sweeper for ui.json powered applications

Project description

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 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.

License

MIT License

Copyright (c) 2024 Mira Geoscience

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Third Party Software

The param-sweeps Software may provide links to third party libraries or code (collectively “Third Party Software”) to implement various functions. Third Party Software does not comprise part of the Software. The use of Third Party Software is governed by the terms of such software license(s). Third Party Software notices and/or additional terms and conditions are located in the THIRD_PARTY_SOFTWARE.rst file.

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.2.0.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

param_sweeps-0.2.0-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file param_sweeps-0.2.0.tar.gz.

File metadata

  • Download URL: param_sweeps-0.2.0.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for param_sweeps-0.2.0.tar.gz
Algorithm Hash digest
SHA256 7f5561a161e86bbd849ac29063b73043b6c4341aba99825bcd5d7f61e52f6535
MD5 eff48de8ab420ee581dadac06bddc108
BLAKE2b-256 b8ee547a3c09422c5bffba85d687221a172bb1f94b4f0fe0034ccca8aef0f6e1

See more details on using hashes here.

File details

Details for the file param_sweeps-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: param_sweeps-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 9.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for param_sweeps-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f168eabf4f665ec84abd22ae6f02d631692103f86a7769847533b47a1e42b074
MD5 5c6b0db6340973168eb50e26a9e2c45d
BLAKE2b-256 f96d09cb4f3588f5ff07e2964d5b682170d686a349b49ec39d764db81f1e8bb7

See more details on using hashes here.

Supported by

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