SatDump 2.0.0-alpha-76a915210
Loading...
Searching...
No Matches
satdump::calibration::conv::EmRadToBrightTempConverter Class Reference

Emissive Radiance to Brightness Temperature converter. More...

#include <em_rad_to_bright_temp.h>

Inheritance diagram for satdump::calibration::conv::EmRadToBrightTempConverter:
satdump::calibration::ConverterBase

Public Member Functions

 EmRadToBrightTempConverter (bool celsius)
double convert (const UnitConverter *c, double x, double y, double val)
 Core function (for images!) implementing conversion between calibration unit types.
bool convert_range (const UnitConverter *c, double &min, double &max)
 Convert unit ranges. This does the same as convert, except it's optimized for converting a range.

Detailed Description

Emissive Radiance to Brightness Temperature converter.

Given a wavenumber, this will convert a radiance value to its equivalent brightness temperature in Kelvins.

Member Function Documentation

◆ convert()

double satdump::calibration::conv::EmRadToBrightTempConverter::convert ( const UnitConverter * c,
double x,
double y,
double val )
inlinevirtual

Core function (for images!) implementing conversion between calibration unit types.

Parameters
creference to the UnitConverter this belongs to
xx position in the image
yposition in the image
valinput calibrated value
Returns
converted unit, or CALIBRATION_INVALID_VALUE on errors

Reimplemented from satdump::calibration::ConverterBase.

◆ convert_range()

bool satdump::calibration::conv::EmRadToBrightTempConverter::convert_range ( const UnitConverter * c,
double & min,
double & max )
inlinevirtual

Convert unit ranges. This does the same as convert, except it's optimized for converting a range.

Parameters
creference to the UnitConverter this belongs to
minmin of the range
maxmax of the range
Returns
true if the convertion was done

Reimplemented from satdump::calibration::ConverterBase.


The documentation for this class was generated from the following file: