BandNames¶
-
class
BandNames
(value)[source]¶ Bases:
sertit.misc.ListEnum
Super class for band names, do not use it.
-
classmethod
from_list
(name_list: Union[list, str]) → list[source]¶ Get the band enums from list of band names
>>> SarBandNames.from_list("VV") [<SarBandNames.VV: 'VV'>]
-
classmethod
to_value_list
(name_list: Optional[list] = None) → list[source]¶ Get a list from the values of the bands
>>> SarBandNames.to_name_list([SarBandNames.HV_DSPK, SarBandNames.VV]) ['HV_DSPK', 'VV'] >>> SarBandNames.to_name_list() ['VV', 'VV_DSPK', 'HH', 'HH_DSPK', 'VH', 'VH_DSPK', 'HV', 'HV_DSPK']
-
classmethod