OnlyConstraint
- class glotaran.model.constraint.OnlyConstraint[source]
Bases:
glotaran.model.interval_property.IntervalProperty
A only constraint sets the calculated matrix row of a compartment to 0 outside the given intervals.
Attributes Summary
Methods Summary
Returns true if
value
is in one of the intervals.Returns a copy of the {cls._name} instance with all members which are Parameters are replaced by the value of the corresponding parameter in the parameter group.
Returns all parameter full labels of the item.
Methods Documentation
- fill(model: Model, parameters: ParameterGroup) cls
Returns a copy of the {cls._name} instance with all members which are Parameters are replaced by the value of the corresponding parameter in the parameter group.
- Parameters
model – A glotaran model.
parameter (ParameterGroup) – The parameter group to fill from.
- property interval: prop_type
- property target: prop_type