【问题标题】:How to use scipy.stats.maxwell to find temperature?如何使用 scipy.stats.maxwell 查找温度?
【发布时间】:2022-01-05 15:03:39
【问题描述】:

我有许多想要拟合麦克斯韦曲线的粒子的速度数据。我正在尝试使用scipy.stats.maxwell 中的fit 方法来拟合我的数据并从中提取系统温度。

从文档中,我无法确定我们试图精确拟合的参数是什么,以及它们与温度的关系。

【问题讨论】:

  • 大概是3D的吧?

标签: python scipy curve-fitting model-fitting scipy.stats


【解决方案1】:

scale有关。 您可能还想在maxwell.fit(...) 中设置floc=0

参照指数参数:非零标度为-x**2 / scale**2 / 2,您可以将其与预期的mv**2 / 2kT 进行比较。

【讨论】:

猜你喜欢
  • 1970-01-01
  • 2016-12-21
  • 2014-11-15
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2019-06-27
  • 2017-07-17
相关资源
最近更新 更多