def file_features(self, filename):
    'Pre-calculated acoustic features for given file\n\n        Parameters\n        ----------\n        filename : str\n            File name\n\n        Returns\n        -------\n        data : numpy.ndarray\n            Matrix containing acoustic features\n\n        '
    filename_ = self.absolute_to_relative_path(filename).replace('audio/', 'features/')
    filename_ = (os.path.splitext(filename_)[0] + '.cpickle')
    if os.path.isfile(os.path.join(self.local_path, filename_)):
        feature_data = pickle.load(open(os.path.join(self.local_path, filename_), 'rb'))
        return feature_data['feat']
    else:
        return None
Pre-calculated acoustic features for given file

Parameters
----------
filename : str
    File name

Returns
-------
data : numpy.ndarray
    Matrix containing acoustic features
def file_features(self, filename):
    'Pre-calculated acoustic features for given file\n\n        Parameters\n        ----------\n        filename : str\n            File name\n\n        Returns\n        -------\n        data : numpy.ndarray\n            Matrix containing acoustic features\n\n        '
    filename_ = self.absolute_to_relative_path(filename).replace('audio/', 'features/')
    filename_ = (os.path.splitext(filename_)[0] + '.cpickle')
    if os.path.isfile(os.path.join(self.local_path, filename_)):
        feature_data = pickle.load(open(os.path.join(self.local_path, filename_), 'rb'))
        return feature_data['feat']
    else:
        return None