ocssw
V2022
|
#include <stdio.h>
#include <math.h>
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
#include "jplint.h"
#include "novascon.h"
#include "solarsystem.h"
Include dependency graph for novas.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes | |
struct | body |
struct | site_info |
struct | cat_entry |
Macros | |
#define | BARYC 0 |
#define | HELIOC 1 |
Functions | |
short int | app_star (double tjd, body *earth, cat_entry *star, double *ra, double *dec) |
short int | app_planet (double tjd, body *ss_object, body *earth, double *ra, double *dec, double *dis) |
short int | topo_star (double tjd, body *earth, double deltat, cat_entry *star, site_info *location, double *ra, double *dec) |
short int | topo_planet (double tjd, body *ss_object, body *earth, double deltat, site_info *location, double *ra, double *dec, double *dis) |
short int | virtual_star (double tjd, body *earth, cat_entry *star, double *ra, double *dec) |
short int | virtual_planet (double tjd, body *ss_object, body *earth, double *ra, double *dec, double *dis) |
short int | local_star (double tjd, body *earth, double deltat, cat_entry *star, site_info *location, double *ra, double *dec) |
short int | local_planet (double tjd, body *ss_object, body *earth, double deltat, site_info *location, double *ra, double *dec, double *dis) |
short int | astro_star (double tjd, body *earth, cat_entry *star, double *ra, double *dec) |
short int | astro_planet (double tjd, body *ss_object, body *earth, double *ra, double *dec, double *dis) |
short int | mean_star (double tjd, body *earth, double ra, double dec, double *mra, double *mdec) |
void | sidereal_time (double julianhi, double julianlo, double ee, double *gst) |
void | pnsw (double tjd, double gast, double x, double y, double *vece, double *vecs) |
void | spin (double st, double *pos1, double *pos2) |
void | wobble (double x, double y, double *pos1, double *pos2) |
void | terra (site_info *locale, double st, double *pos, double *vel) |
void | earthtilt (double tjd, double *mobl, double *tobl, double *eqeq, double *psi, double *eps) |
void | cel_pole (double del_dpsi, double del_deps) |
short int | get_earth (double tjd, body *earth, double *tdb, double *bary_earthp, double *bary_earthv, double *helio_earthp, double *helio_earthv) |
void | proper_motion (double tjd1, double *pos1, double *vel1, double tjd2, double *pos2) |
void | bary_to_geo (double *pos, double *earthvector, double *pos2, double *lighttime) |
short int | sun_field (double *pos, double *earthvector, double *pos2) |
short int | aberration (double *pos, double *vel, double lighttime, double *pos2) |
void | precession (double tjd1, double *pos, double tjd2, double *pos2) |
short int | nutate (double tjd, short int fn1, double *pos, double *pos2) |
short int | nutation_angles (double tdbtime, double *longnutation, double *obliqnutation, double args[5]) |
void | fund_args (double t, double a[5]) |
short int | vector2radec (double *pos, double *ra, double *dec) |
void | radec2vector (double ra, double dec, double dist, double *vector) |
void | starvectors (cat_entry *star, double *pos, double *vel) |
void | tdb2tdt (double tdb, double *tdtjd, double *secdiff) |
short int | set_body (short int type, short int number, char *name, body *cel_obj) |
short int | ephemeris (double tjd, body *cel_obj, short int origin, double *pos, double *vel) |
short int | solarsystem (double tjd, short int body, short int origin, double *pos, double *vel) |
double * | readeph (int mp, char *name, double jd, int *err) |
void | make_cat_entry (char catalog[4], char star_name[51], long int star_num, double ra, double dec, double pm_ra, double pm_dec, double parallax, double rad_vel, cat_entry *star) |
void | transform_hip (cat_entry *hipparcos, cat_entry *fk5) |
void | transform_cat (short int option, double date_incat, cat_entry *incat, double date_newcat, char newcat_id[4], cat_entry *newcat) |
void | equ2hor (double tjd, double deltat, double x, double y, site_info *location, double ra, double dec, short int ref_option, double *zd, double *az, double *rar, double *decr) |
double | refract (site_info *location, short int ref_option, double zd_obs) |
double | julian_date (short int year, short int month, short int day, double hour) |
void | cal_date (double tjd, short int *year, short int *month, short int *day, double *hour) |
Macro Definition Documentation
◆ BARYC
◆ HELIOC
Function Documentation
◆ aberration()
short int aberration | ( | double * | pos, |
double * | vel, | ||
double | lighttime, | ||
double * | pos2 | ||
) |
◆ app_planet()
short int app_planet | ( | double | tjd, |
body * | ss_object, | ||
body * | earth, | ||
double * | ra, | ||
double * | dec, | ||
double * | dis | ||
) |
◆ app_star()
◆ astro_planet()
short int astro_planet | ( | double | tjd, |
body * | ss_object, | ||
body * | earth, | ||
double * | ra, | ||
double * | dec, | ||
double * | dis | ||
) |
◆ astro_star()
◆ bary_to_geo()
void bary_to_geo | ( | double * | pos, |
double * | earthvector, | ||
double * | pos2, | ||
double * | lighttime | ||
) |
◆ cal_date()
void cal_date | ( | double | tjd, |
short int * | year, | ||
short int * | month, | ||
short int * | day, | ||
double * | hour | ||
) |
◆ cel_pole()
void cel_pole | ( | double | del_dpsi, |
double | del_deps | ||
) |
◆ earthtilt()
void earthtilt | ( | double | tjd, |
double * | mobl, | ||
double * | tobl, | ||
double * | eqeq, | ||
double * | psi, | ||
double * | eps | ||
) |
◆ ephemeris()
short int ephemeris | ( | double | tjd, |
body * | cel_obj, | ||
short int | origin, | ||
double * | pos, | ||
double * | vel | ||
) |
◆ equ2hor()
void equ2hor | ( | double | tjd, |
double | deltat, | ||
double | x, | ||
double | y, | ||
site_info * | location, | ||
double | ra, | ||
double | dec, | ||
short int | ref_option, | ||
double * | zd, | ||
double * | az, | ||
double * | rar, | ||
double * | decr | ||
) |
◆ fund_args()
void fund_args | ( | double | t, |
double | a[5] | ||
) |
◆ get_earth()
short int get_earth | ( | double | tjd, |
body * | earth, | ||
double * | tdb, | ||
double * | bary_earthp, | ||
double * | bary_earthv, | ||
double * | helio_earthp, | ||
double * | helio_earthv | ||
) |
◆ julian_date()
double julian_date | ( | short int | year, |
short int | month, | ||
short int | day, | ||
double | hour | ||
) |
◆ local_planet()
short int local_planet | ( | double | tjd, |
body * | ss_object, | ||
body * | earth, | ||
double | deltat, | ||
site_info * | location, | ||
double * | ra, | ||
double * | dec, | ||
double * | dis | ||
) |
◆ local_star()
short int local_star | ( | double | tjd, |
body * | earth, | ||
double | deltat, | ||
cat_entry * | star, | ||
site_info * | location, | ||
double * | ra, | ||
double * | dec | ||
) |
◆ make_cat_entry()
void make_cat_entry | ( | char | catalog[4], |
char | star_name[51], | ||
long int | star_num, | ||
double | ra, | ||
double | dec, | ||
double | pm_ra, | ||
double | pm_dec, | ||
double | parallax, | ||
double | rad_vel, | ||
cat_entry * | star | ||
) |
◆ mean_star()
short int mean_star | ( | double | tjd, |
body * | earth, | ||
double | ra, | ||
double | dec, | ||
double * | mra, | ||
double * | mdec | ||
) |
◆ nutate()
short int nutate | ( | double | tjd, |
short int | fn1, | ||
double * | pos, | ||
double * | pos2 | ||
) |
◆ nutation_angles()
short int nutation_angles | ( | double | tdbtime, |
double * | longnutation, | ||
double * | obliqnutation, | ||
double | args[5] | ||
) |
◆ pnsw()
void pnsw | ( | double | tjd, |
double | gast, | ||
double | x, | ||
double | y, | ||
double * | vece, | ||
double * | vecs | ||
) |
◆ precession()
void precession | ( | double | tjd1, |
double * | pos, | ||
double | tjd2, | ||
double * | pos2 | ||
) |
◆ proper_motion()
void proper_motion | ( | double | tjd1, |
double * | pos1, | ||
double * | vel1, | ||
double | tjd2, | ||
double * | pos2 | ||
) |
◆ radec2vector()
void radec2vector | ( | double | ra, |
double | dec, | ||
double | dist, | ||
double * | vector | ||
) |
◆ readeph()
double* readeph | ( | int | mp, |
char * | name, | ||
double | jd, | ||
int * | err | ||
) |
◆ refract()
double refract | ( | site_info * | location, |
short int | ref_option, | ||
double | zd_obs | ||
) |
◆ set_body()
short int set_body | ( | short int | type, |
short int | number, | ||
char * | name, | ||
body * | cel_obj | ||
) |
◆ sidereal_time()
void sidereal_time | ( | double | julianhi, |
double | julianlo, | ||
double | ee, | ||
double * | gst | ||
) |
◆ solarsystem()
short int solarsystem | ( | double | tjd, |
short int | body, | ||
short int | origin, | ||
double * | pos, | ||
double * | vel | ||
) |
◆ spin()
void spin | ( | double | st, |
double * | pos1, | ||
double * | pos2 | ||
) |
◆ starvectors()
void starvectors | ( | cat_entry * | star, |
double * | pos, | ||
double * | vel | ||
) |
◆ sun_field()
short int sun_field | ( | double * | pos, |
double * | earthvector, | ||
double * | pos2 | ||
) |
◆ tdb2tdt()
void tdb2tdt | ( | double | tdb, |
double * | tdtjd, | ||
double * | secdiff | ||
) |
◆ terra()
void terra | ( | site_info * | locale, |
double | st, | ||
double * | pos, | ||
double * | vel | ||
) |
◆ topo_planet()
short int topo_planet | ( | double | tjd, |
body * | ss_object, | ||
body * | earth, | ||
double | deltat, | ||
site_info * | location, | ||
double * | ra, | ||
double * | dec, | ||
double * | dis | ||
) |
◆ topo_star()
short int topo_star | ( | double | tjd, |
body * | earth, | ||
double | deltat, | ||
cat_entry * | star, | ||
site_info * | location, | ||
double * | ra, | ||
double * | dec | ||
) |
◆ transform_cat()
void transform_cat | ( | short int | option, |
double | date_incat, | ||
cat_entry * | incat, | ||
double | date_newcat, | ||
char | newcat_id[4], | ||
cat_entry * | newcat | ||
) |
◆ transform_hip()
◆ vector2radec()
short int vector2radec | ( | double * | pos, |
double * | ra, | ||
double * | dec | ||
) |
◆ virtual_planet()
short int virtual_planet | ( | double | tjd, |
body * | ss_object, | ||
body * | earth, | ||
double * | ra, | ||
double * | dec, | ||
double * | dis | ||
) |
◆ virtual_star()
◆ wobble()
void wobble | ( | double | x, |
double | y, | ||
double * | pos1, | ||
double * | pos2 | ||
) |