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

Sun angle converter. More...

#include <sun_angle.h>

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

Public Member Functions

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

Sun angle converter.

This does not actually "convert" from anything, but simply returns the calculated Solar Zenith Angle for the requested image pixel.

Member Function Documentation

◆ convert()

double satdump::calibration::conv::SunAngleConverter::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::SunAngleConverter::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: