ipyvasp.utilsΒΆ

Functions

create_colormap([name, colors])

Create and register a custom colormap from a list of RGB colors.

get_file_size(path)

Return file size

interpolate_data(x, y[, n, k])

Returns interpolated xnew,ynew.

prevent_overwrite(path)

Contextmanager to prevents overwiting as file by adding numbers in given path.

rolling_mean(X, period[, period_right, ...])

Caluate rolling mean of array X using scipy.ndimage.filters.convolve1d.

set_dir(path)

Context manager to work in some directory and come back.

take(f, rows[, cols, dtype, exclude, sep])

Read data from an opened file pointer f by indexing.

transform_color(arr[, s, c, b, mixing_matrix])

Color transformation such as brightness, contrast, saturation and mixing of an input color array.

Classes

color()