Skip to content

gtag: ダウンサンプリング機能 #2

Description

@takaeda

Summary(概要)

gtag機能に新たに「ダウンサンプリング処理」のオプションを追加したい。
これは単なる軽量化のためではなく、測定原理に基づいた本質的な前処理として必要な機能である。


Motivation(動機)

  • 設備からのタグデータにおいて、タグごとにサンプリング周期が異なる場合がある
  • 相関解析や統合的な状態推定には、タグ間のデータが共通の時間軸で揃っている必要がある
  • このため、最も粗いサンプリング周期に全タグを揃える前処理が必要になる
  • IF-HUB側でこの処理を gtag として定義できると、正確な前処理付きデータを再利用・共有できる

Proposal(提案内容)

新たな gtag type の定義:

  • type: downsample

パラメータ仕様(改名済み):

パラメータ名 説明
sampling_interval int サンプルを何ステップごとに1つ残すか(例:5なら5個に1個)
pre_filter_window int ダウンサンプリング前に施すローパスフィルター窓サイズ
method string (optional) サンプルの選び方(例: center, first, max, avg

例:def.json

{
  "name": "Tank01.Level.downsampled",
  "type": "downsample",
  "inputs": ["Tank01.Level"],
  "sampling_interval": 5,
  "pre_filter_window": 3,
  "method": "center",
  "description": "Tank01.Levelを5ステップ間引き(事前にMA3)",
  "unit": "m"
}

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions