message_ix_models.model.transport.factor.Omit
- class message_ix_models.model.transport.factor.Omit(**kwargs)[source]
Bases:
LayerA layer that excludes 1 or more
labelsalongdim.Example
>>> factor.Omit(x=["x1", "x3"])
Methods
__init__(**kwargs)apply(other, coords)quantify()this layer and combine it with other.operation(b, /)Same as a ** b.
quantify(coords)Return a quantification of the layer.
Attributes
Dimension along which to omit
labels.Specific labels or coords to omit.
- apply(other: AttrSeries, coords: Mapping[str, Any]) AttrSeries
quantify()this layer and combine it with other.Subclasses may override this method. The default implementation combines other with the results of
quantify()usingoperation.
- operation(b, /)
Same as a ** b.