maad.util.read_raven_annot

maad.util.read_raven_annot(raven_filename)[source]

Read Raven annotations file (or labeling file) and return a Pandas Dataframe with the bounding box and the label of each region of interest (ROI). If the file exists but has no annotations, the function returns and empty dataframe.

Parameters:
raven_filenamestring

Path to the annotation file

Returns:
tab_outPandas Dataframe

Region of interest with time-frequency limits and manual annotation label

References

http://ravensoundsoftware.com/wp-content/uploads/2017/11/Raven14UsersManual.pdf