source_name_to_fs_name¶
- daschlab.source_name_to_fs_name(name: str) str[source]¶
Convert the name of an astronomical source to something convenient to use in file names.
- Parameters:
- name
str The astronomical source name.
- name
- Returns:
- The converted filesystem name.
Notes
This function is a helper that is used to automatically generate names for
Sessiondata directories. The transformation that it performs is intentionally not precisely specified, but it does things like lowercasing the input, removing spaces and special characters, and so on.