Random observation operator for testing random/std
#
YAML arguments#
The following arguments are used to configure the plugin. pyCIF will return an exception at the initialization if mandatory arguments are not specified, or if any argument does not fit accepted values or type:
Optional arguments#
- seed : bool, optional, default True
Use a seed for random generation
- seed_id : int, optional, default 1
Seed to use in numpy.
Requirements#
The current plugin requires the present plugins to run properly:
Requirement name |
Requirement type |
Explicit definition |
Any valid |
Default name |
Default version |
---|---|---|---|---|---|
obsvect |
True |
True |
standard |
std |
|
controlvect |
True |
True |
standard |
std |
|
datavect |
True |
True |
standard |
std |
|
platform |
True |
True |
None |
None |
YAML template#
Please find below a template for a YAML configuration:
1obsoperator:
2 plugin:
3 name: random
4 version: std
5 type: obsoperator
6
7 # Optional arguments
8 seed: XXXXX # bool
9 seed_id: XXXXX # int