solar_corr.py 文件源码

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

项目:solar-correlation-map 作者: Zapf-Consulting 项目源码 文件源码
def transform_to_correlation_dist(data):
    y_corr = np.corrcoef(data.T)
    # we just need the magnitude of the correlation and don't care whether it's positive or not
    abs_corr = np.abs(y_corr)
    return np.nan_to_num(abs_corr)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号