report.Delta#
- class Delta#
Bases:
Flow360BaseModelRepresents a delta calculation between a reference case and a target case based on specified data.
Attributes
- ref_index: int, optional#
Index of the reference case in the list of cases for comparison.
- Default:
0
Properties
- include#
Returns the include filter from the underlying DataItem, or None if data is not a DataItem.
- exclude#
Returns the exclude filter from the underlying DataItem, or None if data is not a DataItem.
Additional Constructors
- classmethod from_file(filename)#
Load a Flow360BaseModel from a .json file.
- Parameters:
filename (str)
- Return type:
Flow360BaseModel
Methods
- calculate(case, cases)#
Calculates the delta between the specified case and the reference case.
- Parameters:
- Returns:
The computed delta value between the case and reference case data.
- Return type:
- Raises:
ValueError – If ref_index is out of bounds or None, indicating a missing reference.