transix#

Transix is a lightweight Python library for numerical transformations.

Documentation for each transform and function is organized below.

Transformations#

abc_to_sym(a, b, c)

Compute symmetrical components using Fortescue transform from abc quantities.

abc_to_ab0(a, b, c[, variant])

Compute Clarke alpha, beta and zero components from abc quantities.

ab0_to_abc(alpha, beta, zero[, variant])

Compute three phase abc quantities from Clarke's alpha, beta and zero components.

signals#

time(duration, fs[, endpoint])

Generate uniformly sampled timestamps

generate_sine(rms, f, t, fs[, phase_shift])

Generate a sine wave

generate_abc(rms, f, t, fs[, phase_shift])

Generate a three phase wave

Utilities#

fmt_mmss(x[, pos])

Format a time value in seconds as mm:ss.mmm.