./
eve_integrate_line_wave.pro
top source eve_integrate_line_wave
user
result = eve_integrate_line_wave(wave_min, wave_max, irradiance_in, wave [, neg=neg])
Integrate an irradiance from wave_min to wave_max, using an arbitrary wavelength scale
This does an integration of a wavelength range with no instrument sensitivity weighting. This is a "line". If you need instrument sensitivity, use integrate_band().
This uses the Midpoint rule to integrate - Each bin is considered to be centered at its wavelength, and the measurement is considered to be the mean measurement over the bin.
Return value
integrated measurement or integrated uncertainty in measurement between the wavelength units. Since input is in (W/m^2)/nm, output is in W/m^2
Parameters
- wave_min in required
minimum wavelength of the line in question, in nanometers
- wave_max in required
maximum wavelength
- irradiance_in in required
measurement, (W/m^2)/nm
- wave in required
center wavelength of each bin of the irradiance in nanometers
Keywords
- neg in optional
if set, ignore negative values. Treat them as zero in the integration. If not set, return -1 if any bins are negative.
File attributes
Modification date: | Fri Sep 14 00:00:00 2012 |
Lines: | 67 |
Docformat: | rst rst |