Command line interface
The commands take a study file unless noted otherwise. The sections below the table list the
options of every command, as kipe <command> --help shows them.
Command |
Purpose |
|---|---|
|
Generate synthetic measurement data |
|
Alias for |
|
Estimate parameters from measurement data |
|
Alias for |
|
Plot the estimation history |
|
List the solver’s parameters and nominal values |
|
List the solver’s state fields and their sizes |
|
Analyze the identifiability: the Fisher information |
|
Plot the result of the sensitivity analysis |
|
Print the study-file JSON schema |
|
Print the completion script for a shell, e.g., bash |
Generated from kipe’s argument parser.
kipe [-h] [--version]
{list-parameters,list-fields,synthesis,synthesize,estimation,estimate,plot-estimation,sensitivity,plot-sensitivity,schema,completion}
...
kipe options
kipe list-parameters
list the estimable parameters of the forward solver and their nominal values
kipe list-parameters [-h] study
kipe list-parameters positional arguments
study- study file (YAML)
kipe list-parameters options
kipe list-fields
list the state fields of the forward solver, which measurements can observe
kipe list-fields [-h] study
kipe list-fields positional arguments
study- study file (YAML)
kipe list-fields options
kipe synthesis (synthesize)
generate synthetic measurement data from a forward run
kipe synthesis [-h] [--log-level {debug,info,warning,error}] study
kipe synthesis positional arguments
study- study file (YAML)
kipe synthesis options
--log-level{debug,info,warning,error}- minimum level of the log messages; overrides output.log_level of the study file
kipe estimation (estimate)
estimate the parameters from the measurement data
kipe estimation [-h] [--realization R] [--resume] [--log-level {debug,info,warning,error}]
study
kipe estimation positional arguments
study- study file (YAML)
kipe estimation options
--realizationR- estimate from the data of noise realization R only (synthesis.realizations); default: all, one after the other--resume- continue an interrupted estimation after its completed iterations; starts from the beginning if there are none, does nothing if it is complete--log-level{debug,info,warning,error}- minimum level of the log messages; overrides output.log_level of the study file
kipe plot-estimation
plot the estimation history: the estimates with their 1σ range
kipe plot-estimation [-h] [--truth] [--realization R] [--save FILE] [--terminal] [--watch]
[--interval SECONDS] [--plots-per-row N] [--all | --no-all]
study [study ...]
kipe plot-estimation positional arguments
study- study file(s) (YAML); several are plotted into the same figure
kipe plot-estimation options
--truth- draw the nominal parameters of the first study’s forward solver as reference--realizationR- plot the estimation of noise realization R, for studies with several--saveFILE- save the figure, don’t show it--terminal- draw the plot as text in the terminal--watch- redraw in the terminal as the estimation runs, until Ctrl+C; implies --terminal--intervalSECONDS- time between redraws with --watch (default: 2.0)--plots-per-rowN- plots per row with --terminal or --watch, e.g., 3 for many parameters (default: 1)--all,--no-all- with --terminal or --watch, draw all outer iterations (--all) or only the last one (--no-all); default: all with --terminal, the last one with --watch
kipe sensitivity
sensitivity analysis: the Fisher information of the measurements at the nominal parameters, from two forward runs per parameter
kipe sensitivity [-h] [--run I | --assemble] [--log-level {debug,info,warning,error}] study
kipe sensitivity positional arguments
study- study file (YAML)
kipe sensitivity options
--runI- compute forward run I only, e.g., as a task of a job array; default: all runs, then their assembly--assemble- only combine the runs, once all are done--log-level{debug,info,warning,error}- minimum level of the log messages; overrides output.log_level of the study file
kipe plot-sensitivity
plot the result of the sensitivity analysis: the singular values, the right singular vectors and the Cramér-Rao correlations
kipe plot-sensitivity [-h] [--save FILE] study
kipe plot-sensitivity positional arguments
study- study file (YAML)
kipe plot-sensitivity options
kipe schema
print the JSON schema of the study file, e.g., for an editor
kipe schema [-h]
kipe schema options
kipe completion
print the completion script of kipe for a shell, to install once
kipe completion [-h] {bash,zsh,tcsh,fish,powershell}
kipe completion positional arguments
shell- the shell
kipe completion options
Examples, to install the script for the current user:
# bash, with the bash-completion package
mkdir -p ~/.local/share/bash-completion/completions
kipe completion bash > ~/.local/share/bash-completion/completions/kipe
# zsh, with fpath=(~/.zfunc $fpath) in ~/.zshrc, before compinit
mkdir -p ~/.zfunc
kipe completion zsh > ~/.zfunc/_kipe
# fish
kipe completion fish > ~/.config/fish/completions/kipe.fish
The script is static, generated from kipe's parser: Tab does not start kipe.
It takes effect in new shells. After an update of kipe, generating it again
completes the new commands and options.