|
🛰️航天仿真算法库 SpaceAST 0.0.1
|
#include <SpaceWeatherProvider.hpp>
类 ast::SpaceWeatherProvider 继承关系图:Public 成员函数 | |
| virtual double | getApDaily (const TimePoint &tp) const =0 |
| virtual double | getKpDaily (const TimePoint &tp) const =0 |
| virtual double | getF10p7Daily (const TimePoint &tp) const =0 |
| virtual double | getF10p7Average (const TimePoint &tp) const =0 |
| virtual int | getAp3HourlyList (const TimePoint &tp, double *apList, int maxLookback) const |
空间天气数据提供者抽象接口
提供空间天气指数(Ap、Kp、F10.7等)的查询接口。
关于接口设计: 核心接口只包含所有空间天气数据源的公共查询方法。 具体的数据加载方式(文件、网络、内嵌数据等)由子类实现, 不出现在抽象接口中,以保持接口的简洁和可替换性。
|
inlinevirtual |
获取从指定时间向前回溯的连续3小时间隔Ap值列表
| tp | 参考时间点(tp所在3小时UTC块 = apList[0]) |
| apList | 输出缓冲区(apList[0]=当前块, apList[1]=3小时前, apList[2]=6小时前, ...) |
| maxLookback | 最多回溯的块数(通常最多20,即60小时) |
被 ast::SpaceWeather 重载.
|
pure virtual |
获取指定时间的Ap日平均值
| tp | 时间点 |
在 ast::ConstantSpaceWeather , 以及 ast::SpaceWeather 内被实现.
|
pure virtual |
获取指定时间的F10.7平均观测值
| tp | 时间点 |
在 ast::ConstantSpaceWeather , 以及 ast::SpaceWeather 内被实现.
|
pure virtual |
获取指定时间的F10.7单日观测值
| tp | 时间点 |
在 ast::ConstantSpaceWeather , 以及 ast::SpaceWeather 内被实现.
|
pure virtual |
获取指定时间的Kp日平均值
| tp | 时间点 |
在 ast::ConstantSpaceWeather , 以及 ast::SpaceWeather 内被实现.