r"""Find an alias value with the given key. Parameters ---------- alias : str Key for finding the alias value. Returns ------- alias_value : str Value for the corresponding key. Examples -------- >>> alias_value = get_alias('atr') >>> alias
(alias)
| 123 | # |
| 124 | |
| 125 | def get_alias(alias): |
| 126 | r"""Find an alias value with the given key. |
| 127 | |
| 128 | Parameters |
| 129 | ---------- |
| 130 | alias : str |
| 131 | Key for finding the alias value. |
| 132 | |
| 133 | Returns |
| 134 | ------- |
| 135 | alias_value : str |
| 136 | Value for the corresponding key. |
| 137 | |
| 138 | Examples |
| 139 | -------- |
| 140 | |
| 141 | >>> alias_value = get_alias('atr') |
| 142 | >>> alias_value = get_alias('hc') |
| 143 | |
| 144 | """ |
| 145 | if alias in Alias.aliases: |
| 146 | return Alias.aliases[alias] |
| 147 | else: |
| 148 | return None |