lezargus.data._make.functionality module

lezargus.data._make.functionality module#

Common functionality to the making data functions.

There are not that many common functions, so a single module is fine.

lezargus.data._make.functionality.find_data_filename(basename: str) str[source]#

Find the full data filename provided its basename and conventions.

We use this function to find the full filename of a data file. By convention, every datafile is separated into organizing folders which may change with development. However, the actual basenames, which by should be unique, should not. So, we can use that to be lazy and find the needed file.

Parameters:

basename (str) – The basename of the file which we are going to parse.

Returns:

filename – The full data file filename.

Return type:

str