# -*- coding: utf-8 -*-
"""
Created on Thu Aug 13 09:53:52 2015

@author: wirkert
"""

import numpy as np
from msi.msi import Msi


def getFakeMsi():

        # build a fake multispectral image with 5 dimensions.
    image = np.concatenate((np.ones((5, 5, 1)),
                            np.ones((5, 5, 1)) * 2,
                            np.ones((5, 5, 1)) * 3,
                            np.ones((5, 5, 1)) * 4,
                            np.ones((5, 5, 1)) * 5),
                           axis=-1)
    msi = Msi(image)

    msi.set_wavelengths(np.array([5, 4, 3, 2, 1]))

    return msi

012eb2c87dec96390a3e97c2bfdcb68bda8c274d
<mask token>

<mask token>


def getFakeMsi():
    image = np.concatenate((np.ones((5, 5, 1)), np.ones((5, 5, 1)) * 2, np.
        ones((5, 5, 1)) * 3, np.ones((5, 5, 1)) * 4, np.ones((5, 5, 1)) * 5
        ), axis=-1)
    msi = Msi(image)
    msi.set_wavelengths(np.array([5, 4, 3, 2, 1]))
    return msi

<mask token>
import numpy as np
from msi.msi import Msi


def getFakeMsi():
    image = np.concatenate((np.ones((5, 5, 1)), np.ones((5, 5, 1)) * 2, np.
        ones((5, 5, 1)) * 3, np.ones((5, 5, 1)) * 4, np.ones((5, 5, 1)) * 5
        ), axis=-1)
    msi = Msi(image)
    msi.set_wavelengths(np.array([5, 4, 3, 2, 1]))
    return msi

# -*- coding: utf-8 -*-
"""
Created on Thu Aug 13 09:53:52 2015

@author: wirkert
"""

import numpy as np
from msi.msi import Msi


def getFakeMsi():

        # build a fake multispectral image with 5 dimensions.
    image = np.concatenate((np.ones((5, 5, 1)),
                            np.ones((5, 5, 1)) * 2,
                            np.ones((5, 5, 1)) * 3,
                            np.ones((5, 5, 1)) * 4,
                            np.ones((5, 5, 1)) * 5),
                           axis=-1)
    msi = Msi(image)

    msi.set_wavelengths(np.array([5, 4, 3, 2, 1]))

    return msi
