文件说明
apiServer.py---用于生成图片的代码文件
testClient.py---用于测试apiServer.py调用的代码文件
test_data.json---testClient.py发送给apiServer.py的测试数据
requirements.txt---环境依赖的库和版本
特别说明，python版本3.6

apiServer调用入参说明：
{
  "filePath": "d://mirs/upload/2025/05/06/brdfImage20250506113006111.png",  // 生成的图片路径
  "brdfList": [
    {
      "sampleModel": "MA956", //样片型号
      "temperatureK": 300, //温度(K)
      "wavelengthUm": "10.6",  //光谱(μm)
      "thetaIncident": 0,  //入射天顶角θi
      "phiIncident": 0,  //入射方位角φi
      "thetaReflected": 30,  //反射天顶角θr
      "phiReflected": 0,  //反射方位角φr
      "measurement1": 0.375,  //重复测量1
      "measurement2": 0.375,  //重复测量2
      "measurement3": 0.377,  //重复测量3
      "measurement4": 0.376,  //重复测量4
      "measurement5": 0.376,  //重复测量5
      "meanValue": 0.376,  //均值
      "repeatabilityPct": 0.21  //重复性%
    },
    {
      "sampleModel": "MA956",
      "temperatureK": 300,
      "wavelengthUm": "10.6",
      "thetaIncident": 0,
      "phiIncident": 0,
      "thetaReflected": 60,
      "phiReflected": 0,
      "measurement1": 0.052,
      "measurement2": 0.052,
      "measurement3": 0.052,
      "measurement4": 0.052,
      "measurement5": 0.052,
      "meanValue": 0.052,
      "repeatabilityPct": 0.487
    }
]

打包exe
安装打包依赖
pip install pyinstaller
打包命令
Pyinstaller -F apiServer.py
