Calibration tool for IDM-Tools
Project description
![Staging: idmtools-calibra]
idmtools-calibra
Table of Contents
User Installation
pip install idmtools-calibra
Pre-requisites
- Python 3.6/3.7 x64
Development Environment Setup
When setting up your environment for the first time, you can use the following instructions
First Time Setup
- Clone the repository:
> git clone https://github.com/InstituteforDiseaseModeling/idmtools_calibra.git
- Create a virtualenv. On Windows, please use venv to create the environment
python -m venv idmtools_calibraOn Unix(Mac/Linux) you can use venv or virtualenv - Activate the virtualenv
- Then run
python ./.dev_scripts/bootstrap.py. This will install all the tools.
Development Tips
There is a Makefile file available for most common development tasks. Here is a list of commands
clean - Clean up temproary files
lint - Lint package and tests
test - Run All tests
coverage - Run tests and generate coverage report that is shown in browser
On Windows, you can use pymake instead of make
Building docs
From your virtualenv, install idmtools_calibra and all dependencies. Then from the docs folder, run pip install -r requirements.txt. You can build the docs from that folder using make html.
To pick up docstring changes, you must re-run the setup script to include those changes in the itertool installation. Then run make clean and re-run make html.
Documentation on Read the Docs is available at https://docs.idmod.org/projects/idmtools_calibra/en/latest/.
Resume Supports Parameters
CalibManager's run_calibration method supports the following parameters for resume action, for example:
run_calibration(resume=True, iteration=2, iter_step='analyze')
- resume: bool, default=False, required for resume Note: resume=True is required for resume, otherwise all the parameters will be ignored
- iteration: int, default=None, from which iteration to resume Note: in None case, calibra will detect and take the last iteration from last run
- iter_step: str, default=None, from which calibration step to resume Note: in None case, calibra will detect and take the valid step of the iteration
- loop: bool, default=True, if like to continue to next iteration Note: by default, resume will continue to run next iteration
- max_iterations, int, default=None, user can override the max_iterations defined in calib_manager Note: in None case, calibra will take max_iterations defined in calib_manager
- backup: bool, default=False, if like to backup Calibration.json Note: by default, resume will not make a backup of Calibration.json
- dry_run: bool, default=False, if like to really execute resume action Note: by default (dry_run= False), resume will go ahead to execute resume action
iter_step supports the following options:
- commission: will start to run a new iteration
- analyze: analyze the output data from given iteration
- plot: just plot for given iteration
- next_point: go directly to next iteration
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file idmtools_calibra-2.0.2.tar.gz.
File metadata
- Download URL: idmtools_calibra-2.0.2.tar.gz
- Upload date:
- Size: 122.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bb695be20fc16904d52f75dfcacfd7e4b15b053b4123bfa9ae8d6cb55669e490
|
|
| MD5 |
445f83e70ce69a35f71a5f05620609fa
|
|
| BLAKE2b-256 |
6a9b0f5f4f9c2659c335c9125d409136293f18457b4ebb7e5b46e2ba7c189886
|
Provenance
The following attestation bundles were made for idmtools_calibra-2.0.2.tar.gz:
Publisher:
publish-pypi.yml on InstituteforDiseaseModeling/idmtools-calibra
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
idmtools_calibra-2.0.2.tar.gz -
Subject digest:
bb695be20fc16904d52f75dfcacfd7e4b15b053b4123bfa9ae8d6cb55669e490 - Sigstore transparency entry: 987706270
- Sigstore integration time:
-
Permalink:
InstituteforDiseaseModeling/idmtools-calibra@0b50c8101c8c52f45b6b05a8bbe5b52a3521d7e3 -
Branch / Tag:
refs/tags/v2.0.2 - Owner: https://github.com/InstituteforDiseaseModeling
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@0b50c8101c8c52f45b6b05a8bbe5b52a3521d7e3 -
Trigger Event:
push
-
Statement type:
File details
Details for the file idmtools_calibra-2.0.2-py3-none-any.whl.
File metadata
- Download URL: idmtools_calibra-2.0.2-py3-none-any.whl
- Upload date:
- Size: 184.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa59aab668495df15895ff3be940e82a165acc999a1d205f90418630d7fe9601
|
|
| MD5 |
03c58429eafda8cb29d7ca1217c055be
|
|
| BLAKE2b-256 |
aca7465cefdea5ec76e48374e8d9ec107ee2751c58fc5000d53ea0c7191983c9
|
Provenance
The following attestation bundles were made for idmtools_calibra-2.0.2-py3-none-any.whl:
Publisher:
publish-pypi.yml on InstituteforDiseaseModeling/idmtools-calibra
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
idmtools_calibra-2.0.2-py3-none-any.whl -
Subject digest:
aa59aab668495df15895ff3be940e82a165acc999a1d205f90418630d7fe9601 - Sigstore transparency entry: 987706307
- Sigstore integration time:
-
Permalink:
InstituteforDiseaseModeling/idmtools-calibra@0b50c8101c8c52f45b6b05a8bbe5b52a3521d7e3 -
Branch / Tag:
refs/tags/v2.0.2 - Owner: https://github.com/InstituteforDiseaseModeling
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@0b50c8101c8c52f45b6b05a8bbe5b52a3521d7e3 -
Trigger Event:
push
-
Statement type: