process_scan_name#
- patato.useful_utilities.process_scan_name(template: str, scan_name: str) dict [source]#
Process the scan name using the simple template specified.
The template should contain something like the following:
>>> "<date>_<initials><earmark><mouseid>_Day<timepoint>_<scantype>"
For advanced use, note that this is converted into a regular expression, so certain elements of that syntax can be used in the template.
- Parameters:
template –
scan_name –