Source code examples from JSDocs
Functions¶
- body2latlong(body) ⇒
Object - date2julian(date) ⇒
Number Function that generates the Julian date from a traditional date time format more info about Juñian dates:
- deg2rad(x) ⇒
Number|Number - mod(n, m) ⇒
Number - rad2deg()
Astrodynamics | Kepler Solver Author: Edgar Gago Carrillo Date 16/03/2021
Inputs: variable in rad
Outputs: x but in degrees
Description: From degrees to rad
- trueanom()
Astrodynamics | Kepler Solver Author: Edgar Gago Carrillo Date 16/03/2021
Description Computation of the true anomally
Inputs ibt: orbital elements {} E: eccentric anomaly [rad]
Ouputs theta: true anomaly [rad]
body2latlong(body) ⇒ Object¶
Kind: global function
| Param | Type |
|---|---|
| body | * |
date2julian(date) ⇒ Number¶
Function that generates the Julian date from a traditional date time format more info about Juñian dates:
Kind: global function
Returns: Number - JD - JD: Julian Day
Docs: // Core // date2julian
| Param | Type | Description |
|---|---|---|
| date | Date |
Calendar date format: year, month, day, hour, minute, second |
deg2rad(x) ⇒ Number | Number¶
Kind: global function
| Param | Type |
|---|---|
| x | * |
Example
// returns 3.14
deg2rad(90);
mod(n, m) ⇒ Number¶
Kind: global function
| Param | Type |
|---|---|
| n | * |
| m | * |
rad2deg()¶
Astrodynamics | Kepler Solver Author: Edgar Gago Carrillo Date 16/03/2021
Inputs: variable in rad
Outputs: x but in degrees
Description: From degrees to rad
trueanom()¶
Astrodynamics | Kepler Solver Author: Edgar Gago Carrillo Date 16/03/2021
Description Computation of the true anomally
Inputs ibt: orbital elements {} E: eccentric anomaly [rad]
Ouputs theta: true anomaly [rad]
Kind: global function