TimeBinSelection#

class geodesic.tesseract.components.TimeBinSelection(*args, **kwargs)[source]#

A description of which time bins to select from the input

Attributes

all

(bool) - select all time bins from input

index

(int) - the index of the time bin to select

nearest

(NearestSelection, dict) - select the nearest time bin

range

(RangeSelection, dict) - selection all bins in a range

reduce

(ReduceMethod, dict) - reduce along time dimension before sending to model.

since

(BinSelection, dict) - select all bins since this selection

until

(BinSelection, dict) - select all bins before this selection

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 key is not found, default is returned if given, otherwise KeyError is raised

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()