SiteMethods.py 文件源码

python
阅读 23 收藏 0 点赞 0 评论 0

项目:SiteResponseTool 作者: GEMScienceTools 项目源码 文件源码
def FrequencyAxis(Fmin, Fmax, Fnum, Log=True):
  """
  Compute a lin/log spaced frequency axis.
  """

  # Computing frequency axis
  if Log:
    Freq = _np.logspace(_np.log10(Fmin), _np.log10(Fmax), Fnum)
  else:
    Freq = _np.linspace(Fmin, Fmax, Fnum)

  return Freq
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号