slicedatasource.py 文件源码

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

项目:segyviewer 作者: Statoil 项目源码 文件源码
def __init__(self):
        super(EmptyDataSource, self).__init__()
        self._data = np.zeros((2, 2), dtype=np.single)
        self._data[0, 0] = -1.0
        self._data[1, 1] = 1.0
        self._xlines = [0, 1]
        self._ilines = [0, 1]
        self._samples = []  # changed to allow dims() calculate len(samples)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号