mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-23 10:05:46 -05:00
Add Solar flux unit conversions
This commit is contained in:
parent
c8d07396d2
commit
ecdffc4780
@ -213,6 +213,16 @@ public:
|
||||
return false;
|
||||
}
|
||||
|
||||
static float solarFluxUnitsToJansky(float sfu)
|
||||
{
|
||||
return sfu * 10000.0f;
|
||||
}
|
||||
|
||||
static float solarFluxUnitsToWattsPerMetrePerHertz(float sfu)
|
||||
{
|
||||
return sfu * 1e-22f;
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
#endif // INCLUDE_UNITS_H
|
||||
|
Loading…
Reference in New Issue
Block a user