WeightedSumFitter.add_coord#
- WeightedSumFitter.add_coord(name, values=None, *, length=None)#
Register a dimension coordinate with the model.
- Parameters:
name (str) – Name of the dimension. Forbidden: {“chain”, “draw”, “__sample__”}
values (optional, array_like) – Coordinate values or
None
(for auto-numbering). IfNone
is passed, alength
must be specified.length (optional, scalar) – A scalar of the dimensions length. Defaults to
pytensor.tensor.constant(len(values))
.