第2章 术语、符号与单位(数据集最小集)


I. 术语(Terms)


II. 符号(Symbols,最小集)


III. 单位与量纲(Units & Dimensions)


IV. 路径量统一口径(Normative Path Forms)

正文显式 gamma(ell) 与 d ell;数据侧记录 delta_form ∈ {general, factored};路径阵列满足 len(gamma_ell)=len(d_ell)=len(n_eff)≥2。


V. 写法与歧义规避(Mandatory Conventions)


VI. 字段表(最小模板)

字段

类型

单位

量纲

取值域/形状

可空

说明

see

record_id

string

1

1

ULID/UUIDv4

主键

acq.ts_start/ts_end

string

1

1

ISO-8601

采集时间

path.gamma_ell

array

m

L

N≥2

路径参数

Core.DataSpec:TARR

path.d_ell

array

m

L

N≥2

路径测度

同上

medium.n_eff_profile

array

1

1

N≥2

有效折射率

S20-1

ref.c_ref

number

m/s

L·T^-1

(2.9e8,3.1e8)

参考上限

Terms P10-*

ref.lambda_ref

number

m

L

>0

视任务

参考波长

S21-2

obs.T_arr

number

s

T

视任务

到达时

S20-1

obs.Phi

number

rad

1

视任务

相位

S21-2

quality.flags

array

1

1

可空

质量标记

quality.score_Q

number

1

1

[0,1]

稳健质量

see/references/version

array/string

1

1

引用与版本


VII. 机读契约(Machine-Readable Contracts,节选)
A. schema.json

{

"$schema": "https://json-schema.org/draft/2020-12/schema",

"title": "Dataset v1.0.0 (minimal)",

"type": "object",

"required": ["record_id","acq","path","medium","ref","see","version"],

"properties": {

"record_id": { "type": "string" },

"acq": {

"type": "object",

"required": ["ts_start","ts_end"],

"properties": {

"ts_start": { "type": "string", "format": "date-time" },

"ts_end": { "type": "string", "format": "date-time" }

}

},

"path": {

"type": "object",

"required": ["gamma_ell","d_ell"],

"properties": {

"gamma_ell": { "type": "array", "items": { "type": "number" }, "minItems": 2 },

"d_ell": { "type": "array", "items": { "type": "number" }, "minItems": 2 }

}

},

"medium": {

"type": "object",

"required": ["n_eff_profile"],

"properties": {

"n_eff_profile": { "type": "array", "items": { "type": "number" }, "minItems": 2 }

}

},

"ref": {

"type": "object",

"properties": {

"c_ref": { "type": "number" },

"lambda_ref": { "type": "number" }

}

},

"see": { "type": "array", "items": { "type": "string" }, "minItems": 1 },

"version": { "type": "string" }

}

}


B. contract.yaml(路径块与覆盖声明)

version: "1.0.0"

path:

required: true

gamma: "gamma(ell)"

measure: "d ell"

delta_form: "general" # or "factored"

coverage:

mode: "k" # k | alpha | quantile

k: 2

units:

T_arr: "s"

Phi: "rad"

c_ref: "m/s"

lambda_ref: "m"


VIII. 规范示例(Normative Examples)


IX. 反例与修正(Anti-Patterns & Fixes)


X. 执行勾选清单(Checklist)