AssetBands#

class geodesic.boson.AssetBands(*args, **kwargs)[source]#

Specify and asset from a dataset as well as a list of bands.

Attributes

asset

(str) - asset name to reference from the dataset

bands

(str, int) - a list of band indices (0-indexed) or band names to reference

Methods

clear()

copy()

fromkeys([value])

Create a new dictionary with keys from iterable and values set to value.

get(key[, default])

Return the value for key if key is in the dictionary, else default.

items()

keys()

pop(k[,d])

If the key is not found, return the default if given; otherwise, raise a KeyError.

popitem()

Remove and return a (key, value) pair as a 2-tuple.

setdefault(key[, default])

Insert key with a value of default if key is not in the dictionary.

update(*mapping, **kwargs)

values()