welltestpy.data.StdyHeadObs
- class StdyHeadObs(name, observation, description='Steady State Drawdown observation')[source]
Bases:
Observation
Observation class special for steady drawdown observations.
- Parameters
- Attributes
Methods
__call__
([observation, time])Call a variable.
reshape
()Reshape observations to flat array.
save
([path, name])Save an observation to file.
- __call__(observation=None, time=None)
Call a variable.
Here you can set a new value or you can get the value of the variable.
- Parameters
observation (scalar,
numpy.ndarray
,Variable
, optional) – New Value for observation. Default:"None"
time (scalar,
numpy.ndarray
,Variable
, optional) – New Value for time. Default:"None"
- Returns
or
numpy.ndarray
–(time, observation)
orobservation
.
- reshape()
Reshape observations to flat array.
- save(path='', name=None)
Save an observation to file.
This writes the observation to a csv file.
- Parameters
Notes
The file will get the suffix
".obs"
.
- property info
Get information about the observation.
Here you can display information about the observation.
- property observation
Observed values of the observation.
int
orfloat
ornumpy.ndarray
- property state
String containing state of the observation.
Either
"steady"
or"transient"
.- Type
- property time
Time values of the observation.
int
orfloat
ornumpy.ndarray
- property value
Value of the Observation.
[
tuple
of]int
orfloat
ornumpy.ndarray