RAVE
Lib.rave_math Namespace Reference

Functions

 least_square_nth_degree (order, xl, yl)
 Derives least-square fit of the "order" order.
 
 get_std_deviation (fgs)
 Calculates standard deviation.
 

Detailed Description

Copyright (C) 2013- Swedish Meteorological and Hydrological Institute (SMHI)

This file is part of RAVE.

RAVE is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

RAVE is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with RAVE.  If not, see <http://www.gnu.org/licenses/>.

Function Documentation

◆ get_std_deviation()

Lib.rave_math.get_std_deviation ( fgs)

Calculates standard deviation.

Parameters
fgsarray of floats
Returns
tuple of meanvalue,deviation

◆ least_square_nth_degree()

Lib.rave_math.least_square_nth_degree ( order,
xl,
yl )

Derives least-square fit of the "order" order.

Parameters
orderint order
xlarray of floats
ylarray of floats
Returns
array