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.
Copyright
Copyright (c) 2024 Mira Geoscience Ltd.
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.
Source Distribution
Built Distribution
File details
Details for the file param_sweeps-0.1.8.tar.gz
.
File metadata
- Download URL: param_sweeps-0.1.8.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.10.14 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e07432a610866b92b7e49f67c845647adfd588899c29792577120dec8b56473 |
|
MD5 | c511800c605cbd532ed35e20c6a37135 |
|
BLAKE2b-256 | 90322901d1319f993bd6b56a766b1975eb732524e512ed60af361019a7d3e1b2 |
File details
Details for the file param_sweeps-0.1.8-py3-none-any.whl
.
File metadata
- Download URL: param_sweeps-0.1.8-py3-none-any.whl
- Upload date:
- Size: 11.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.10.14 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea43e35f1e88933352adb193a5adf49b71188891dfb6224589cfa88b4422d5d7 |
|
MD5 | b4fbae73ea87a7b258f884ad47e19181 |
|
BLAKE2b-256 | af49c1809e182870df6216260fb9b42ad08745c93eba7bfe8f6d93ac7b00fcec |