pingwyn.core.func.convert

Functions

curves_to_profiles(curves)

Convert individual curves to line profiles.

normalise(obj[, strat])

Normalise an object.

obj_copy([arg, kwarg])

to_float(obj)

Convert object values to floats.

to_float64(obj)

Convert object values to numpy 64-bit floats.

to_int(obj)

Convert object values to integers between 0 to 255

to_uint8(obj)

Convert object values to numpy unsigned 8-bit integers.

Classes

Curve(arr[, metadata])

A container for a x,y-curve.

Profile(arr[, x, metadata])

A container for a x,y-curve.

Modules

curves_profiles

float_int