welltestpy.data.TemporalVar
- class TemporalVar(value=0.0)[source]
Bases:
VariableVariable class for a temporal variable.
- Parameters
value (
intorfloatornumpy.ndarray,)optional – Value of the Variable. Default:
0.0
- Attributes
Methods
__call__([value])Call a variable.
save([path, name])Save a variable to file.
- __call__(value=None)
Call a variable.
Here you can set a new value or you can get the value of the variable.
- Parameters
value (
intorfloatornumpy.ndarray,)optional – Value of the Variable. Default:
None
- Returns
value – Value of the Variable.
- Return type
intorfloatornumpy.ndarray
- save(path='', name=None)
Save a variable to file.
This writes the variable to a csv file.
- Parameters
Notes
The file will get the suffix
".var".
- property value
Value.
- Type
intorfloatornumpy.ndarray