medpy.features.utilities.append#

medpy.features.utilities.append(*vectors)[source]#

Takes an arbitrary number of vectors containing features and append them (horizontally).

E.g. taking a 100 and a 200 sample vector with 7 features each, a 300x7 vector is returned.

The vectors are expected to have the form samples*features i.e.:

    s1    s2    s3    [...]
f1
f2
[...]
Parameters:
*vectorssequences

A number of vectors with the same number and type of features.

Returns:
vectorndarray

The appended vectors.