예제 #1
0
파일: test_blo.py 프로젝트: woozey/LiberTEM
def default_blo():
    ds = BloDataSet(
        path=str(BLO_TESTDATA_PATH),
        tileshape=(1, 8, 144, 144),
    )
    ds.initialize()
    return ds
예제 #2
0
def test_blo_dist(dist_ctx):
    ds = BloDataSet(path="/data/default.blo")
    ds = ds.initialize(dist_ctx.executor)
    analysis = dist_ctx.create_sum_analysis(dataset=ds)
    results = dist_ctx.run(analysis)
    assert results[0].raw_data.shape == (144, 144)
예제 #3
0
def default_blo():
    ds = BloDataSet(
        path=str(BLO_TESTDATA_PATH),
    )
    ds.initialize(InlineJobExecutor())
    return ds