IntervalMasked.check_domain_consistency
- IntervalMasked.check_domain_consistency(data: List | ndarray, strict: bool = True) None | str [source]
Checks if the data is within the domain.
- Parameters:
data (Union[List, np.ndarray]) – The data to check.
strict (bool, optional, default=False) – If True, the domain is checked to match the data exactly. Otherwise, the domain is checked to include the data.
- Returns:
Union[None, str] – A message indicating if the domain is consistent with the data. If None, the domain is consistent.