redback.utils.frequency_to_bandname

redback.utils.frequency_to_bandname(frequency)[source]

Converts a list of frequencies into an array corresponding band names

Parameters:

frequency (list[str]) – List of bands.

Returns:

An array of bandnames associated with the given frequency.

Return type:

np.ndarray