1
0
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:
Jon Beniston 2021-01-22 16:57:47 +00:00
parent c8d07396d2
commit ecdffc4780

View File

@ -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