vocalpy.Features#

class vocalpy.Features(data: Dataset)[source]#

Bases: object

Class that represents features extracted from sound.

Attributes:
dataxarray.Dataset

Methods

read(path)

Read Features from a file.

write(path)

Write Features to a file.

__init__(data: Dataset)[source]#

Methods

__init__(data)

read(path)

Read Features from a file.

write(path)

Write Features to a file.

classmethod read(path: str | Path)[source]#

Read Features from a file.

Parameters:
pathstr, pathlib.Path

Path to file with features.

Returns:
featuresvocalpy.Features

Instance of Features with data from path loaded into it.

write(path: str | Path)[source]#

Write Features to a file.

Parameters:
pathstr, pathlib.Path

Path to where file with features should be saved.