#include <SpaceWeather.hpp>
|
|
void | findEntryIndex (double mjdUTC, int &index, double &frac) const |
| |
| void | findFluxIndex (double mjdUTC, int &index, double &frac) const |
| |
|
|
std::vector< Entry > | data_ |
| |
|
int | startMJD_ = 0 |
| |
|
int | endMJD_ = 0 |
| |
◆ findFluxIndex()
| void ast::SpaceWeather::findFluxIndex |
( |
double | mjdUTC, |
|
|
int & | index, |
|
|
double & | frac ) const |
|
protected |
◆ getAp3HourlyList()
| int ast::SpaceWeather::getAp3HourlyList |
( |
const TimePoint & | tp, |
|
|
double * | apList, |
|
|
int | maxLookback ) const |
|
overridevirtual |
获取从指定时间向前回溯的连续3小时间隔Ap值列表
- 参数
-
| tp | 参考时间点 |
| apList | 输出缓冲区(apList[0]=当前块, apList[1]=3小时前, ...) |
| maxLookback | 最多回溯的块数 |
- 返回
- 实际填充的块数,0表示无数据
重载 ast::SpaceWeatherProvider .
◆ getApDaily()
| double ast::SpaceWeather::getApDaily |
( |
const TimePoint & | tp | ) |
const |
|
overridevirtual |
◆ getApDaily_UTCMJD()
| double ast::SpaceWeather::getApDaily_UTCMJD |
( |
double | mjdUTC | ) |
const |
获取指定时间的Ap的单日平均值
- 参数
-
- 返回
- 对应的MJD的Ap值
◆ getEntry()
获取指定MJD的空间天气数据条目
- 参数
-
- 返回
- 空间天气数据条目指针
如果MJD不存在,则返回nullptr。
◆ getF10p7Average()
| double ast::SpaceWeather::getF10p7Average |
( |
const TimePoint & | tp | ) |
const |
|
overridevirtual |
◆ getF10p7Average_UTCMJD()
| double ast::SpaceWeather::getF10p7Average_UTCMJD |
( |
double | mjdUTC | ) |
const |
获取指定时间的F10.7平均观测值(以输入时间为中心的81天平均观测值)
- 参数
-
- 返回
- 对应的MJD的F10.7平均观测值
◆ getF10p7Daily()
| double ast::SpaceWeather::getF10p7Daily |
( |
const TimePoint & | tp | ) |
const |
|
overridevirtual |
◆ getF10p7Daily_UTCMJD()
| double ast::SpaceWeather::getF10p7Daily_UTCMJD |
( |
double | mjdUTC | ) |
const |
获取指定时间的F10.7单日观测值
- 参数
-
- 返回
- 对应的MJD的F10.7单日观测值
◆ getKpDaily()
| double ast::SpaceWeather::getKpDaily |
( |
const TimePoint & | tp | ) |
const |
|
overridevirtual |
◆ getKpDaily_UTCMJD()
| double ast::SpaceWeather::getKpDaily_UTCMJD |
( |
double | mjdUTC | ) |
const |
获取指定时间的Kp的单日平均值
- 参数
-
- 返回
- 对应的MJD的Kp值
◆ load() [1/2]
| errc_t ast::SpaceWeather::load |
( |
StringView | filepath | ) |
|
◆ load() [2/2]
| errc_t ast::SpaceWeather::load |
( |
StringView | filepath, |
|
|
std::vector< Entry > & | data ) |
|
static |
加载空间天气数据文件到指定容器(用于校验等场景)
- 参数
-
- 返回
- 错误码
◆ loadDefault()
| errc_t ast::SpaceWeather::loadDefault |
( |
| ) |
|
◆ setEntry()
| errc_t ast::SpaceWeather::setEntry |
( |
int | mjd, |
|
|
const Entry & | entry ) |
设置指定MJD的空间天气数据条目
- 参数
-
- 返回
- 错误码
该类的文档由以下文件生成: