Configuration
Validated configuration schema for the Newtonian-noise scaffold simulator.
This is a structural scaffold config only: coupling parameterizes a
placeholder equicorrelation statistical model, not a physical Newtonian-noise
coupling. The physical configuration schema for the seismic field and
detector/witness response is the physical joint backend's (:mod:gwmock_newtonian_noise.joint).
NewtonianScaffoldConfig
¶
Bases: BaseModel
Validated configuration for :class:~gwmock_newtonian_noise.simulator.NewtonianScaffoldSimulator.
detectors and witnesses are tuple[str, ...], not list[str]:
frozen=True only blocks field reassignment (config.detectors = ...
raises), it does not stop in-place mutation of a mutable container a frozen
field happens to hold. A tuple has no mutating methods, so the frozen
contract holds for the container itself, not just for the attribute name.
Attributes:
| Name | Type | Description |
|---|---|---|
detectors |
tuple[str, ...]
|
Strain channel names, non-empty and unique. |
witnesses |
tuple[str, ...]
|
Witness channel names, non-empty, unique, and disjoint from
|
sampling_frequency |
float
|
Sampling frequency in hertz, must be positive. |
duration |
float
|
Nominal generation duration in seconds, must be positive. |
seed |
int | None
|
Seed for the deterministic RNG policy (see
:mod: |
coupling |
float
|
Equicorrelation coefficient of the placeholder statistical
model, applied between every channel pair. Must satisfy
|
strain_unit |
str
|
Unit string recorded for strain channels. |
witness_unit |
str
|
Unit string recorded for witness channels. |
Source code in src/gwmock_newtonian_noise/config.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | |