redback.utils.bands_to_effective_width

redback.utils.bands_to_effective_width(bands)[source]

Converts a list of bands into an array of effective width in Hz

Parameters:

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

Returns:

An array of effective width associated with the given bands.

Return type:

np.ndarray