Home | Trees | Indices | Help |
---|
|
Multiple operations on data or modeling results (e.g. aligning, convolution, ...)
Author: R. Lombaert
|
|||
(list[list[(.,.)]], list) |
|
||
list |
|
||
array |
|
||
np.array |
|
||
float |
|
||
float |
|
||
float |
|
||
array |
|
||
array |
|
|
|||
__package__ =
|
|
*** WILL BE REWRITTEN *** Align two datasets by shifting Y coordinate. Works on multiple data lists at a time. Each dataset is shifted to match with the previous dataset AFTER the previous one has already been shifted. e.g. for the third dataset y_new = zeropoint + shifts[1]*shifts[2]*y The shifts between datasets are multiplicative, the first dataset is shifted additively by the keyword zeropoint. At least 3 points of overlap are required!
|
Perform convolution on lists with a Gaussian filter. Reduce the input grid to the target grid by integration.
|
Convolves an intensity-versus-velocity profile with an instrumental Gaussian profile of width 'sigma' by Kristof Smolders
|
Reduce the size of a 1d-array. Two modes are available:
The average mode can be used when, e.g., reading MCMax output, where the density/temperature/... grids are given for radial and angular coordinates. In case only the radial points are needed, the stepsize would then be the number of angular grid cells.
|
Get the RMS of a flux array in a given wavelength range. If no wavelengths are given, the RMS of the whole array is given. If the array used for RMS calculation is too small, None is returned. The mean should already be subtracted! A 1-sigma clipping of the flux array can be done by providing limits.
|
Get the mean of a flux array in a given wavelength range. If no wavelengths are given, the mean of the whole array is given. If the array used for mean calculation is too small, None is returned. A 1-sigma clipping of the flux array can be done by providing limits.
|
Get the std of a flux array in a given wavelength range. If no min/max wavelengths are given, the std of the whole array is given. If the array used for std calculation is too small, None is returned. A 1-sigma clipping of the flux array can be done by providing limits.
|
Select the sub array of a flux, given a wavelength range. If no range is given, return the full array.
|
Check whether the input value is a proper array.
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Mon Nov 7 18:01:55 2016 | http://epydoc.sourceforge.net |