zea.data.convert.picmus

Script to convert the PICMUS database to the zea format.

Example usage: `bash python zea/data/convert/picmus.py --src_dir /mnt/data/PICMUS --output_dir converted_PICMUS_dir `

Functions

convert_picmus(source_path, output_path[, ...])

Converts the PICMUS database to the zea format.

get_args()

Parse command line arguments.

zea.data.convert.picmus.convert_picmus(source_path, output_path, overwrite=False)[source]

Converts the PICMUS database to the zea format.

Parameters:
  • source_path (str, pathlike) – The path to the original PICMUS file.

  • output_path (str, pathlike) – The path to the output file.

  • overwrite (bool, optional) – Set to True to overwrite existing file. Defaults to False.

zea.data.convert.picmus.get_args()[source]

Parse command line arguments.