def test_yz (self):

    p.args = (4000,4001,3000,3100,200,300)
    image_data = np.ones( [2,100,100,1], dtype=np.float32 ) * random.random()
    response = postNPZ(p, image_data)

    url = "http://{}/ca/{}/{}/yz/{}/{}/{},{}/{},{}/".format(SITE_HOST, p.token, p.channels[0], p.resolution, p.args[0], p.args[2], p.args[3], p.args[4], p.args[5])
    f = getURL (url)

    image_data = np.uint8(image_data*256)
    slice_data = np.asarray ( Image.open(StringIO(f.read())) )
    assert ( np.array_equal(slice_data[:,:,0], image_data[0][:75][:].reshape(75,100)) )
Test the yz slice cutout
dataset/ETHPy150Open neurodata/ndstore/test/test_probability.py/Test_Probability_Slice.test_yz