Changeset 338


Ignore:
Timestamp:
Sep 22, 2004, 9:40:30 AM (20 years ago)
Author:
ole
Message:

Comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/ga/storm_surge/pyvolution/least_squares.py

    r337 r338  
    11"""Least squares smooting and interpolation.
     2
     3   Implements a penalised least-squares fit and associated interpolations.
     4
     5   The panalty term (or smoothing term) is controlled by the smoothing
     6   parameter alpha.
     7   With a value of alpha=0, the fit function will attempt
     8   to interpolate as closely as possible in the least-squares sense.
     9   With values alpha > 0, a certain amount of smoothing will be applied.
     10   A positive alpha is essential in cases where there are too few
     11   data points.
     12   A negative alpha is not allowed.
     13   A typical value of alpha is 1.0e-6
     14         
    215
    316   Ole Nielsen, Stephen Roberts, Duncan Gray, Christopher Zoppou
     
    3447          (or an nx2 Numeric array)
    3548
    36           alpha: Smoothing parameter
    37          
     49          alpha: Smoothing parameter.
     50
    3851          point_attributes: Vector or array of data at the point_coordinates.
    3952    """
     
    302315
    303316     
    304     #FIXME: We may need a method 'evaluate(self):' that will interpolate
     317    #FIXME: We will need a method 'evaluate(self):' that will interpolate
    305318    #a computed surface living on the mesh onto a collection of
    306319    #arbitrary data points
Note: See TracChangeset for help on using the changeset viewer.