VR-Vantage 3.0 API Documentation
Home
Modules
Namespaces
Classes
Files
Libraries
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
sensorFx
include
met.h
Go to the documentation of this file.
1
/* © 1998 JRM Technologies, Inc.*/
2
3
4
5
/***********************************
6
Copyright JRM Enterprises, Inc. 1998
7
All rights reserved.
8
9
This code is the intellectual property of JRM Enterprises, Inc.
10
It may not be used or released as source or compiled binary form
11
without the prior written consent of JRM Enterprises, Inc.
12
***********************************/
13
14
15
#include "
sigsimDLLstub.h
"
16
17
18
#ifdef __cplusplus
19
extern
"C"
20
{
21
#endif
22
23
24
double
lunar_albedo
(
double
lambda);
25
26
// The below routines synthesize atmospheric and meteorological effects that drive SigSim's signature prediction engine.
27
//double Met(double tod, long num_bodies, CELESTIAL_TABLE *celestial_table, METIN *metin, int option);
28
SIGSIM49_API
int
Met4x
(
METIN
*metin,
int
air_model_option);
29
30
// The below routine is used to synthesize diurnal air temperature in a number of ways.
31
double
air
(
double
t
,
double
max
,
double
min
,
double
tmax,
double
tmin,
int
option
);
32
SIGSIM49_API
double
Tair_degC
(
double
met_tod,
double
sunrise,
double
sunset,
double
Tamax,
double
Tamin,
int
air_model_option);
33
SIGSIM49_API
int
FillMetinUserDefinedAirTempArray
(
METIN
*metin,
double
*tod,
double
*Ta,
int
ntod);
34
35
double
lunar_albedo
(
double
lambda);
36
SIGSIM49_API
void
CalcLongitudinalJRMTIMEs
(
ellipsoid
E,
GEODETIC_LOCATION
localD,
JRMTIME
localzone,
JRMTIME
*local,
JRMTIME
*UTC,
double
*local_zone_offset);
37
void
CalcBodyVectorInEarthCenteredFrameAtGeoD
(
double
lat_rad,
double
dec_rad,
double
ra_rad,
double
sa_rad,
VECTOR
*body);
38
void
SolarEphemerides
(
JRMTIME
ptime,
double
*dec_rad,
double
*ra_rad,
double
*range_km);
39
void
SunriseSunset
(
double
lat_rad,
double
dec_rad,
double
lhn,
double
*sunrise,
double
*sunset);
40
SIGSIM49_API
double
SiderealTime
(
double
lon_rad,
JRMTIME
ptime);
41
GEODETIC_LOCATION
CalcBodyGeodeticPositionGivenVecInEarthCenteredFrameAtGeoD
(
ellipsoid
E,
GEODETIC_LOCATION
localD,
VECTOR
body,
double
range
);
42
void
SolarEphemerisSEU
(
ellipsoid
E,
GEODETIC_LOCATION
localD,
JRMTIME
localzone,
43
VECTOR
*sunmax,
VECTOR
*sunplane,
VECTOR
*suneast,
44
double
*lhn,
double
*sunrise,
double
*sunset,
45
VECTOR
*sun,
double
*az_deg,
double
*el_deg,
46
double
*raSun,
double
*decSun,
double
*rangeSun,
47
double
*sunlat_deg,
double
*sunlon_deg);
48
void
LunarEphemerisSEU
(
ellipsoid
E,
GEODETIC_LOCATION
localD,
JRMTIME
localzone,
VECTOR
*moon,
49
double
*raMoon,
double
*decMoon,
double
*rangeMoon,
50
double
*az_deg,
double
*el_deg,
double
*moonlat_deg,
double
*moonlon_deg);
51
double
MoonElongationFromEphemerides
(
double
raSun,
double
decSun,
double
raMoon,
double
decMoon);
52
double
MoonElongationFromGeodetics
(
double
lonSun,
double
lonMoon,
double
latMoon);
53
double
MoonPhaseFromElongation
(
double
elongation,
double
rangeSun,
double
rangeMoon);
54
double
MoonIlluminatedFraction
(
double
phase);
55
void
CalcMoonPhaseAndIlluminatedFraction
(
EPHEMERIS
*fm);
56
57
58
VECTOR
MoonInMetinSEU
(
GEOCENTRIC_LOCATION
moon,
GEOCENTRIC_LOCATION
met,
ellipsoid
E);
59
SIGSIM49_API
GEOCENTRIC_LOCATION
GeocentricMoonPosition
(
double
julianDay,
ellipsoid
E,
double
*range_m,
double
*dec_rad,
double
*ra_rad);
60
SIGSIM49_API
GEOCENTRIC_LOCATION
GeocentricMoonPosition2
(
double
julianDay,
ellipsoid
E,
double
*range_m,
double
*dec_rad,
double
*ra_rad);
61
SIGSIM49_API
int
DoEphemeris
(
EPHEMERIS
*fm);
62
SIGSIM49_API
int
DuplicateModtranAtm_DefaultLogic
(
ATM_DEFAULT
*atm_default,
double
*RainRate,
double
*Visibility,
jrmbool
RESET);
63
64
65
/* ------------ KAPLAN EPHEMERIS CODE ----------------------- */
66
SIGSIM49_API
void
earthtilt
(
double
tjd,
double
*mobl,
double
*tobl,
double
*eq,
double
*dpsi,
double
*deps);
67
void
fund_args
(
double
t
,
double
a
[5]);
68
short
int
nutation_angles
(
double
t
,
double
*longnutation,
double
*obliqnutation);
69
SIGSIM49_API
void
sidereal_time
(
double
jd_high,
double
jd_low,
double
ee,
double
*gst);
70
SIGSIM49_API
void
terra
(
EPHEMERIS
fm,
double
alt,
double
st,
VECTOR
*pos);
71
void
spin
(
EPHEMERIS
fm,
double
st,
VECTOR
pos1,
VECTOR
*pos2);
72
73
74
#ifdef __cplusplus
75
}
76
#endif
77
Copyright © 2005-2022 MAK Technologies. All Rights Reserved (
www.mak.com
)