fits_eph.h

来自「本源码是一个用于卫星数据处理的程序」· C头文件 代码 · 共 53 行

H
53
字号
/***************************************************************************
文件名: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 + =
减小字号Ctrl + -
显示快捷键?