修改引用逻辑、新增Pattern更改界面、新增Calman灰阶界面
This commit is contained in:
@@ -1,12 +1,18 @@
|
||||
"""EOTF 曲线绘制(HDR)。
|
||||
"""EOTF 曲线绘制(HDR)。
|
||||
|
||||
Step 2 重构:从 pqAutomationApp.PQAutomationApp.plot_eotf 原样搬迁。
|
||||
"""
|
||||
|
||||
import numpy as np
|
||||
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
def plot_eotf(self, L_bar, results_with_eotf_list, test_type):
|
||||
if TYPE_CHECKING:
|
||||
from pqAutomationApp import PQAutomationApp
|
||||
|
||||
|
||||
|
||||
def plot_eotf(self: "PQAutomationApp", L_bar, results_with_eotf_list, test_type):
|
||||
"""绘制 EOTF 曲线 + 数据表格(HDR 专用,包含实测亮度)"""
|
||||
|
||||
# ========== 1. 清空并重置左侧曲线 ==========
|
||||
@@ -146,3 +152,10 @@ def plot_eotf(self, L_bar, results_with_eotf_list, test_type):
|
||||
pass
|
||||
|
||||
self.log_gui.log("EOTF 曲线 + 数据表格绘制完成", level="success")
|
||||
|
||||
|
||||
class PlotEotfMixin:
|
||||
"""由 tools/refactor_to_mixins.py 自动生成。
|
||||
把本模块的自由函数挂到 PQAutomationApp 上,便于 F12 跳转与类型推断。
|
||||
"""
|
||||
plot_eotf = plot_eotf
|
||||
|
||||
Reference in New Issue
Block a user