to_class_name¶
- sofia_redux.scan.utilities.class_provider.to_class_name(name)[source]¶
Return the associated class type name for a given string.
Capitalizes the first letter of the instrument, upper-cases any character following an underscore, and finally remove all underscores. For example, converts ‘hawc_plus` to
HawcPlus
.- Parameters:
- namestr
The name to convert.
- Returns:
- class_namestr