文件
acoustic_algo_scheduler/data/algorithms.json
T

436 行
14 KiB
JSON
原始文件 Blame 文件历史

此文件含有模棱两可的 Unicode 字符
此文件含有可能会与其他字符混淆的 Unicode 字符。 如果您是想特意这样的,可以安全地忽略该警告。 使用 Escape 按钮显示他们。
[
{
"name": "预处理算子",
"version": "1.1.0",
"author": "Antigravity",
"description": "去直流、带通滤波(默认10-400Hz)",
"type": "python",
"module": "src.sample_algorithms",
"function": "dc_removal_and_bandpass",
"sha256": "062aa2ec0c5f5354d75c6e9eb9e7c6adc344e5bbcc3a3e6b171ae1a08e527283",
"inputs": {
"raw_data": {
"field": "raw_data",
"type": "ndarray",
"description": "原始声呐数据"
},
"fs": {
"field": "sample_rate",
"type": "float",
"description": "采样率"
}
},
"outputs": {
"clean_data": {
"index": 0,
"type": "ndarray",
"description": "预处理后数据"
}
}
},
{
"name": "时频分析",
"version": "1.1.0",
"author": "Antigravity",
"description": "STFT 幅度谱计算",
"type": "python",
"module": "src.sample_algorithms",
"function": "stft_magnitude",
"sha256": "062aa2ec0c5f5354d75c6e9eb9e7c6adc344e5bbcc3a3e6b171ae1a08e527283",
"inputs": {
"clean_data": {
"field": "clean_data",
"type": "ndarray",
"description": "清洗后数据"
}
},
"outputs": {
"stft_data": {
"index": 0,
"type": "ndarray",
"description": "STFT矩阵"
}
}
},
{
"name": "SNR估计",
"version": "1.1.0",
"author": "Antigravity",
"description": "基于 RMS/Var 的简易信噪比估计",
"type": "python",
"module": "src.sample_algorithms",
"function": "snr_estimation",
"sha256": "062aa2ec0c5f5354d75c6e9eb9e7c6adc344e5bbcc3a3e6b171ae1a08e527283",
"inputs": {
"raw_data": {
"field": "raw_data",
"type": "ndarray",
"description": "待评估数据"
}
},
"outputs": {
"snr_value": {
"index": 0,
"type": "float",
"description": "信噪比(dB)"
}
}
},
{
"name": "质量巡检",
"version": "1.1.0",
"author": "Antigravity",
"description": "掉点、饱和与数据完整性检测",
"type": "python",
"module": "src.sample_algorithms",
"function": "quality_check",
"sha256": "062aa2ec0c5f5354d75c6e9eb9e7c6adc344e5bbcc3a3e6b171ae1a08e527283",
"inputs": {
"raw_data": {
"field": "raw_data",
"type": "ndarray",
"description": "待校验原始数据"
}
},
"outputs": {
"core_index": {
"index": 0,
"type": "dict",
"description": "质量指标集"
}
}
},
{
"name": "C++ 增益算子",
"version": "1.0.0",
"author": "Antigravity",
"description": "使用 C++ 侧实现的高效增益处理(1.5x)",
"type": "cpp",
"lib_path": "src/sample_algos_cpp/simple_ops.so",
"function": "multiply_by_factor_cpp",
"sha256": "96dac08510cbc464c66b20eec8a3d69f5fcb5c7c5d3ea9c5765eb88d7f5f5d31",
"isolate": true,
"inputs": {
"in_data": {
"field": "clean_data",
"type": "ndarray",
"description": "输入数据"
}
},
"outputs": {
"gain_data": {
"type": "ndarray",
"index": 0,
"description": "增益后数据"
}
}
},
{
"name": "MATLAB 带通算子",
"version": "1.0.0",
"author": "Antigravity",
"description": "基于 MATLAB .m 实现的带通滤波",
"type": "matlab",
"m_path": "src/sample_algos_matlab",
"function": "bandpass_filter_m",
"sha256": "c3a88dad53c37d4d83b0974c798e87e3790d329e7842053928b2867e44890249",
"inputs": {
"in_data": {
"field": "raw_data",
"type": "ndarray",
"description": "输入数据"
},
"fs": {
"field": "sample_rate",
"type": "float",
"description": "采样率"
}
},
"outputs": {
"m_filtered": {
"type": "ndarray",
"index": 0,
"description": "滤波后数据"
}
}
},
{
"name": "Bellhop 传播损失",
"version": "2.0-woa18",
"author": "AcousticFastAPI",
"description": "射线追踪法传播损失计算(自动加载 WOA18 环境数据)",
"type": "web",
"endpoint": "http://acoustic-api:8000/tl",
"method": "POST",
"slot_key": "acoustic-api-compute",
"timeout_sec": 600,
"fixed_params": {
"modelType": "bellhop"
},
"inputs": {
"freq": {
"field": "sea_env.modeling.freq_hz",
"type": "float",
"description": "建模频率 (Hz)"
},
"sourceDepth": {
"field": "sea_env.modeling.source_depth_m",
"type": "int",
"description": "源深度 (m)"
},
"receiveDepth": {
"field": "sea_env.modeling.receive_depth_m",
"type": "int",
"description": "接收深度 (m)"
},
"sLat": {
"field": "sea_env.modeling.source_lat",
"type": "float",
"description": "源点纬度"
},
"sLon": {
"field": "sea_env.modeling.source_lon",
"type": "float",
"description": "源点经度"
},
"rLat": {
"field": "sea_env.modeling.receive_lat",
"type": "float",
"description": "接收点纬度"
},
"rLon": {
"field": "sea_env.modeling.receive_lon",
"type": "float",
"description": "接收点经度"
},
"timeType": {
"field": "sea_env.modeling.time_type",
"type": "str",
"description": "时间段"
}
},
"outputs": {
"transmission_loss": {
"field": "vis_data.tl_result_path",
"type": "str",
"description": "TL 数据文件路径"
},
"bathymetry": {
"field": "vis_data.tl_bathym_path",
"type": "str",
"description": "地形数据文件路径"
},
"picture": {
"field": "vis_data.tl_picture_path",
"type": "str",
"description": "TL 图片路径"
},
"summary": {
"field": "core_index.tl_summary",
"type": "dict",
"description": "TL 统计摘要"
}
}
},
{
"name": "Kraken 传播损失",
"version": "2.0-woa18",
"author": "AcousticFastAPI",
"description": "简正波法传播损失计算(适用于低频深海场景)",
"type": "web",
"endpoint": "http://acoustic-api:8000/tl",
"method": "POST",
"slot_key": "acoustic-api-compute",
"timeout_sec": 600,
"fixed_params": {
"modelType": "kraken"
},
"inputs": {
"freq": {
"field": "sea_env.modeling.freq_hz",
"type": "float",
"description": "建模频率 (Hz)"
},
"sourceDepth": {
"field": "sea_env.modeling.source_depth_m",
"type": "int",
"description": "源深度 (m)"
},
"receiveDepth": {
"field": "sea_env.modeling.receive_depth_m",
"type": "int",
"description": "接收深度 (m)"
},
"sLat": {
"field": "sea_env.modeling.source_lat",
"type": "float",
"description": "源点纬度"
},
"sLon": {
"field": "sea_env.modeling.source_lon",
"type": "float",
"description": "源点经度"
},
"rLat": {
"field": "sea_env.modeling.receive_lat",
"type": "float",
"description": "接收点纬度"
},
"rLon": {
"field": "sea_env.modeling.receive_lon",
"type": "float",
"description": "接收点经度"
},
"timeType": {
"field": "sea_env.modeling.time_type",
"type": "str",
"description": "时间段"
}
},
"outputs": {
"transmission_loss": {
"field": "vis_data.tl_result_path",
"type": "str",
"description": "TL 数据文件路径"
},
"bathymetry": {
"field": "vis_data.tl_bathym_path",
"type": "str",
"description": "地形数据文件路径"
},
"picture": {
"field": "vis_data.tl_picture_path",
"type": "str",
"description": "TL 图片路径"
},
"summary": {
"field": "core_index.tl_summary",
"type": "dict",
"description": "TL 统计摘要"
}
}
},
{
"name": "RAM 传播损失",
"version": "2.0-woa18",
"author": "AcousticFastAPI",
"description": "抛物方程法传播损失计算(适用于浅海复杂地形)",
"type": "web",
"endpoint": "http://acoustic-api:8000/tl",
"method": "POST",
"slot_key": "acoustic-api-compute",
"timeout_sec": 600,
"fixed_params": {
"modelType": "ram"
},
"inputs": {
"freq": {
"field": "sea_env.modeling.freq_hz",
"type": "float",
"description": "建模频率 (Hz)"
},
"sourceDepth": {
"field": "sea_env.modeling.source_depth_m",
"type": "int",
"description": "源深度 (m)"
},
"receiveDepth": {
"field": "sea_env.modeling.receive_depth_m",
"type": "int",
"description": "接收深度 (m)"
},
"sLat": {
"field": "sea_env.modeling.source_lat",
"type": "float",
"description": "源点纬度"
},
"sLon": {
"field": "sea_env.modeling.source_lon",
"type": "float",
"description": "源点经度"
},
"rLat": {
"field": "sea_env.modeling.receive_lat",
"type": "float",
"description": "接收点纬度"
},
"rLon": {
"field": "sea_env.modeling.receive_lon",
"type": "float",
"description": "接收点经度"
},
"timeType": {
"field": "sea_env.modeling.time_type",
"type": "str",
"description": "时间段"
}
},
"outputs": {
"transmission_loss": {
"field": "vis_data.tl_result_path",
"type": "str",
"description": "TL 数据文件路径"
},
"bathymetry": {
"field": "vis_data.tl_bathym_path",
"type": "str",
"description": "地形数据文件路径"
},
"picture": {
"field": "vis_data.tl_picture_path",
"type": "str",
"description": "TL 图片路径"
},
"summary": {
"field": "core_index.tl_summary",
"type": "dict",
"description": "TL 统计摘要"
}
}
},
{
"name": "声速剖面查询",
"version": "2.0-woa18",
"author": "AcousticFastAPI",
"description": "根据经纬度和时间段从 WOA18 和 ETOPO1 查询声速剖面",
"type": "web",
"endpoint": "http://acoustic-api:8000/profile",
"method": "POST",
"slot_key": "acoustic-api-compute",
"timeout_sec": 120,
"inputs": {
"lat": {
"field": "sea_env.modeling.source_lat",
"type": "float",
"description": "纬度"
},
"lon": {
"field": "sea_env.modeling.source_lon",
"type": "float",
"description": "经度"
},
"timeType": {
"field": "sea_env.modeling.time_type",
"type": "str",
"description": "时间段"
}
},
"outputs": {
"profile": {
"field": "vis_data.profile_path",
"type": "str",
"description": "剖面数据文件路径"
},
"picture": {
"field": "vis_data.profile_picture_path",
"type": "str",
"description": "剖面图片路径"
},
"summary": {
"field": "core_index.profile_summary",
"type": "dict",
"description": "声道特征摘要"
}
}
}
]