cta_transient_analysis.py 文件源码

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

项目:wavelet-denoising 作者: mackaiver 项目源码 文件源码
def create_cube(df, bins, bin_range):
    _, x_edges, y_edges = np.histogram2d(
        df.alt, df.az, bins=bins, range=bin_range)
    slices = []
    N = 100
    for df in np.array_split(df, N):
        H, _, _ = np.histogram2d(df.alt, df.az, bins=[
                                 x_edges, y_edges], range=bin_range)
        slices.append(H)

    slices = np.array(slices)
    return slices
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号