| Home | Trees | Indices | Help |
|
|---|
|
|
HSI Utilities.
These are utility functions that are in common use by the hyperspectral classes. These functions shouldn't have external dependencies on any other classes in the hsi package.
| Classes | |
| Histogram | |
| CubeCompare | |
| Functions | |||
|
|||
|
|||
|
|||
|
|||
|
|||
| Variables | |
units_scale =
|
|
| Function Details |
Return standard units label for the given label. Given a text string, return the standard (usually SI) abbreviation. Currently just supports lengths. Returns None if label not known. |
Computes the common range of sampling points. Given two lists of sampling points, determine the subset of the range of the first set such that the endpoints are guaranteed to be within the range of the second set of sampling points.
|
Resample using linear interpolation. Given two sets of data, resample the second set to match the first set's x values and range. @returns tuple (sampling, data1, data2) |
Determine spectral angle between two vectors. Computes the spectral angle between the common range of two vectors, resampling the second one to conform to the first's sampling points if necessary. @returns angle in degrees |
Determine Euclidean distance between two vectors. Compute Euclidean distance between the common range of two vectors, resampling the second one to conform to the first's sampling points. @returns distance (units are ???) |
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu Feb 21 14:51:13 2008 | http://epydoc.sourceforge.net |