hmeap-0.8: Haskell Meapsoft Parser




data Feature Source

Data type representing a MEAPsoft analysis feature. The feature_column is the integer column index for the feature in the analysis data. The feature_degree is the number of columns the feature requires.


read_header :: FilePath -> IO (Either String [Feature])Source

Read the header of a MEAPsoft analysis file and extract the list of stored features.

find_feature :: String -> [Feature] -> Maybe FeatureSource

Search for a named feature.

required_feature :: String -> [Feature] -> FeatureSource

A variant of find_feature that raises an error if the feature is not located. All analysis files have the features onset_time and chunk_length.

has_feature :: String -> [Feature] -> BoolSource

True iff the analysis data contains the named feature.