utils

reader

class hummingbird.utils.reader.GeometryReader(filename, pixel_size=1.0)[source]
class hummingbird.utils.reader.H5Reader(filename, key=None)[source]
load_dataset(key)[source]
class hummingbird.utils.reader.MaskReader(filename, key='data/data')[source]

array

class hummingbird.utils.array.RunningHistogram(length=100, window=20, bins=100, hmin=0, hmax=100)[source]
clear()[source]
next(new_value, length=None, window=None, bins=None, hmin=None, hmax=None)[source]
hummingbird.utils.array.assembleImage(x, y, img=None, nx=None, ny=None, dtype=None, return_indices=False)[source]
hummingbird.utils.array.cheetahToSlacH5(cheetahArr)[source]
hummingbird.utils.array.get2D(data)[source]
hummingbird.utils.array.runningHistogram(new_data, name, length=100, window=20, bins=100, hmin=0, hmax=100)[source]
hummingbird.utils.array.runningMean(x, N)[source]

http://stackoverflow.com/questions/13728392/moving-average-or-running-mean

hummingbird.utils.array.runningTrend(array, window, trend)[source]
hummingbird.utils.array.slacH5ToCheetah(slacArr)[source]

io

hummingbird.utils.io.load_condor()[source]

Loading the `condor` module if available

hummingbird.utils.io.load_spimage()[source]

Loading the `libspimage` module if available