Commit e421061c authored by Alexander Lapshin's avatar Alexander Lapshin

+ override_stdmag function

parent 8a71425e
......@@ -4,6 +4,11 @@
MagData::MagData() = default;
void MagData::override_stdmag(const double stdmag)
{
m_stdmag = stdmag;
}
void MagData::SetOpticData(const double stdphase_deg, const double stdtrange_km, const double stdmag)
{
m_hasData = true;
......
......@@ -18,6 +18,7 @@ public:
double get_std_mag() const { return m_stdmag; }
double get_std_phase() const { return m_stdphase_rad; }
double get_std_range() const { return m_stdrange_tkm; }
void override_stdmag(double stdmag);
private:
static double CalcA0g(double stdmag, double stdphase_rad, double stdrange_tkm, double sunMag);
static double CalcRealMag(double A0g, double sunMag, double phase_rad, double range_tkm);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment