fluidimage.data_objects.piv

PIV objects (fluidimage.data_objects.piv)

class fluidimage.data_objects.piv.ArrayCouple(names=None, arrays=None, serie=None, str_path=None, hdf5_parent=None, params_mask=None)[source]

Bases: fluidimage.data_objects.piv.DataObject

Couple of arrays (images).

class fluidimage.data_objects.piv.HeavyPIVResults(deltaxs=None, deltays=None, xs=None, ys=None, errors=None, correls_max=None, correls=None, couple=None, params=None, str_path=None, hdf5_object=None, secondary_peaks=None, indices_no_displacement=None)[source]

Bases: fluidimage.data_objects.piv.DataObject

Heavy PIV results containing displacements and correlation.

get_grid_pixel(self, index_pass)[source]

Recompute 1d arrays containing the approximate positions of the vectors

Useful to compute a grid on which we can interpolate the displacement fields.

Parameters
index_pass: int

Index of the pass

Returns
xs1d: np.ndarray

Indices (2nd, direction “x”) of the pixel in the image

ys1d: np.ndarray

Indices (1st, direction “y”) of the pixel in the image

class fluidimage.data_objects.piv.MultipassPIVResults(str_path=None)[source]

Bases: fluidimage.data_objects.piv.DataObject

Result of a multipass PIV computation.

get_grid_pixel(self, index_pass=-1)[source]

Recompute 1d arrays containing the approximate positions of the vectors

Useful to compute a grid on which we can interpolate the displacement fields.

Parameters
index_pass: int

Index of the pass

Returns
xs1d: np.ndarray

Indices (2nd, direction “x”) of the pixel in the image

ys1d: np.ndarray

Indices (1st, direction “y”) of the pixel in the image

class fluidimage.data_objects.piv.LightPIVResults(deltaxs_approx=None, deltays_approx=None, ixvecs_grid=None, iyvecs_grid=None, correls_max=None, couple=None, params=None, str_path=None, hdf5_object=None, file_name=None)[source]

Bases: fluidimage.data_objects.piv.DataObject

Functions

get_name_bos(name, serie)

get_name_piv(serie[, prefix])

get_slices_from_strcrop(strcrop)

get_str_index(serie, i, index)

Classes

ArrayCouple([names, arrays, serie, …])

Couple of arrays (images).

ArrayCoupleBOS([names, arrays, serie, …])

Couple of arrays (images).

DataObject

HeavyPIVResults([deltaxs, deltays, xs, ys, …])

Heavy PIV results containing displacements and correlation.

LightPIVResults([deltaxs_approx, …])

MultipassPIVResults([str_path])

Result of a multipass PIV computation.