Package atmopy :: Package observation :: Module space_time
[show private | hide private]
[frames | no frames]

Module atmopy.observation.space_time

Function Summary
sequence of datetime.datetime, 1D numpy.array, 1D numpy.array remove_highest(dates, data1, data2, maxi)
Removes values of data1, data2 and dates where data1 values are higher than the given minimum.
sequence of datetime.datetime, 1D numpy.array, 1D numpy.array remove_lowest(dates, data1, data2, mini)
Removes values of data1, data2 and dates where data1 values are lower than the given minimum.

Function Details

remove_highest(dates, data1, data2, maxi)

Removes values of data1, data2 and dates where data1 values are higher than the given minimum.
Parameters:
dates - Dates corresponding to the data.
           (type=sequence of datetime.datetime)
data1 - Data from which values higher than mini must be removed (observations most of the time).
           (type=1D numpy.array)
data2
           (type=Data where values corresponding to removed value in data1 are also removed (simulation data).)
maxi - Maximum value. Dates, elements of data1 and data2 corresponding to values higher than maxi in data1 are removed.
           (type=float)
Returns:
sequence of dates, data1 array and data2 array. Elements corresponding to values higher than maxi in data1 are not returned.
           (type=sequence of datetime.datetime, 1D numpy.array, 1D numpy.array)

remove_lowest(dates, data1, data2, mini)

Removes values of data1, data2 and dates where data1 values are lower than the given minimum.
Parameters:
dates - Dates corresponding to the data.
           (type=sequence of datetime.datetime)
data1 - Data from which values lower than mini must be removed (observations most of the time).
           (type=1D numpy.array)
data2
           (type=Data where values corresponding to removed value in data1 are also removed (simulation data).)
mini - Minimum value. Dates, elements of data1 and data2 corresponding to values lower than mini in data1 are removed.
           (type=float)
Returns:
sequence of dates, data1 array and data2 array. Elements corresponding to values lower than mini in data1 are not returned.
           (type=sequence of datetime.datetime, 1D numpy.array, 1D numpy.array)

Generated by Epydoc 2.1 on Tue May 19 10:37:13 2009 http://epydoc.sf.net