Opened 16 years ago
Closed 13 years ago
#289 closed enhancement (wontfix)
Make 1D interpolation function
Reported by: | ole | Owned by: | ole |
---|---|---|---|
Priority: | normal | Milestone: | ANUGA Flood Modelling Capability |
Component: | Functionality and features | Version: | |
Severity: | normal | Keywords: | |
Cc: |
Description
Create new callable object Interpolation_function_1D
for general use.
The constructor will take vectors x, y When called with an arbitrary value xi it will return the linear interpolation f(xi) based on the values x, y.
This should be used whenever the user needs to create a function based on a timeseries - e.g. from a hydrograph. However, this fundamental object should also replace internal functionality in the 2D Interpolation function, file_function, file_boundary or where appropriate.
Change History (3)
comment:1 Changed 16 years ago by ole
comment:2 Changed 16 years ago by ole
One simple step towards facilitating reading of hydrographs is to make a csv2tms conversions routine.
comment:3 Changed 13 years ago by habili
- Resolution set to wontfix
- Status changed from new to closed
As a matter of fact, Interpolation_function already deals with pure time series, so this ticket might boil down to allow reading of csv time series - see FIXME i util.py in _file_function().