📄 fits_eph.h
字号:
/***************************************************************************
文件名:fits_eph.h
copyright :1.0 中国科学院光电研究院有效载荷应用中心
创建人 : 冯鹏
日期:2007.1.20
修改人: 无
日期: 无
描述:定义处理星历数据时的数据结构和函数原形
***************************************************************************/
#ifndef FITS_EPH_H_
#define FITS_EPH_H_
#include <string>
#include "fits_util.h"
#include "hxmt_file.h"
#include "Fits.h"
#include "fitsio.h"
/****************星历文件结构,用于存放星历文件内容******************/
typedef struct EPH_struct
{
long cir;
timespec_t utc;
timespec_t localtime;
float longitude;
double latitude;
double x, y, z;
double vx, vy, vz;
double height;
std::string sid;
} EPH_t;
int LoadEPH( const hxmt_file_t *hxmtfile , struct sci_intern *s );
int open_fits_eph( const hxmt_file_t *hxmtfile, fitsfile **fptr );
int write_fits_eph( fitsfile *fptr, const EPH_t *eph, int n );
int close_fits_eph( fitsfile *fptr );
int process_eph( const hxmt_file_t *hxmtfile );
int get_eph_orbit_number( const timespec_t *time );
#endif /* FITS_EPH_H_ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -