Add Solar flux unit conversions

pull/757/head
Jon Beniston 2021-01-22 16:57:47 +00:00
rodzic c8d07396d2
commit ecdffc4780
1 zmienionych plików z 10 dodań i 0 usunięć

Wyświetl plik

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