Don Cross
65e380e59c
Trying to get tables to render on github.com; adding headers.
2019-05-28 21:30:45 -04:00
Don Cross
ba7814df4d
Added protection from infinite loops in JS, C versions of SearchLunarApsis.
...
I made sure it is not possible to get stuck in an infinite
loop inside SearchLunarApsis, both the C and JavaScript versions.
If we loop over more time than 2 synodic months (more than enough time),
bail out with an exception (JS) or an internal error (C).
2019-05-24 17:21:04 -04:00
Don Cross
74dd133391
Implemented C function SearchLunarApsis, but not yet tested.
2019-05-24 16:58:03 -04:00
Don Cross
3c5c47d704
Implemented C function SearchMaxMagnitude, but not yet tested.
2019-05-23 19:44:32 -04:00
Don Cross
83d909751e
Implemented C function SearchRiseSet, but not yet implemented.
2019-05-21 21:09:59 -04:00
Don Cross
aacc680b0e
Implemented C function AngleFromSun, but not tested yet.
2019-05-20 16:41:54 -04:00
Don Cross
2e9f2918bd
JS: Replaced SkyPos with Equator function.
...
This is a refactoring to follow suit with what I did in the C
version of the code. It improves accuracy by using different
geocentric vector calculations for j2000 and ofdate equatorial
coordinates. Allow optional aberration corrections.
2019-05-19 18:12:01 -04:00
Don Cross
bc9f3aa2ee
Implemented C version of Pluto calculator.
...
Generate Chebyshev model for calculating Pluto's position.
2019-05-18 20:26:29 -04:00
Don Cross
bf2eeed105
Implemented C version of Horizon function. Fixed bug in C GeoPos.
...
The C version of GeoPos was returning an ante-dated time value,
not the time the caller asked about. In other words, it was
returning the time when the observed body emitted the light
the observer sees, not the time the observation was made on the
Earth, like it was supposed to. Fortunately, my unit test caught that.
2019-05-18 18:46:08 -04:00
Don Cross
3dc4760ab2
Eliminated the 'novas' refraction formula. Not used.
2019-05-18 15:03:44 -04:00
Don Cross
eb659f2b9b
Implemented C version of GeoMoon. Speed optimization in JS code.
2019-05-17 21:42:51 -04:00
Don Cross
c7074f528e
Reworking code generator to handle multiple target languages.
...
Generating Delta T table in both JavaScript and C.
Work in progress.
2019-05-16 15:24:14 -04:00
Don Cross
fe9c0e6f74
Fixed #37 - Corrected misleading documentation in Elongation, ElongationEvent.
2019-05-14 06:14:50 -04:00
Don Cross
a2f41f99fa
Added more entries to the JavaScript documentation topic index.
2019-05-13 22:02:22 -04:00
Don Cross
981464876b
Style adjustments in documentation.
2019-05-13 15:16:15 -04:00
Don Cross
c9fe15b01d
Style adjustment on JS API reference page.
2019-05-13 15:13:04 -04:00
Don Cross
66d6cb5116
Fixed more broken links.
2019-05-13 15:08:07 -04:00
Don Cross
ded4035d14
Making API reference more approachable. Adding logos.
2019-05-13 10:23:52 -04:00
Don Cross
a258858821
Refactored Handlebars declarations so I don't need partial any more.
2019-05-10 08:23:34 -04:00
Don Cross
035bfa1a7c
Documented the refraction parameter for Astronomy.Horizon.
2019-05-09 21:40:08 -04:00
Don Cross
6fc7fcd736
Checking in documentation changes.
2019-05-09 20:53:53 -04:00
Don Cross
1663da0e90
@see markers include links to the things they reference.
2019-05-09 20:10:02 -04:00
Don Cross
e6ce0440d4
Eliminated index listing in Markdown documentation.
2019-05-09 20:01:15 -04:00
Don Cross
022f792801
Fixed documentation problem for class Apsis.
...
Need to have description text come first in the JSDoc metadata.
2019-05-09 14:45:22 -04:00
Don Cross
b960c0238f
Added NextLunarApsis function. Did some performance tuning.
2019-05-08 21:28:29 -04:00
Don Cross
472aa57b90
Fixed #29 - Added SearchLunarApsis to find apogee, perigee.
2019-05-08 19:16:42 -04:00
Don Cross
367b1f8bb3
Documentation copyediting.
2019-05-07 19:45:43 -04:00
Don Cross
dc2ed18059
Checking in changes to generated documentation.
2019-05-07 16:49:10 -04:00
Don Cross
beb35e1379
Fixed documentation of the SeasonInfo function.
2019-05-07 15:58:56 -04:00
Don Cross
8e0278dcbc
Reworked more classes as true ECMAScript 2015 classes.
...
This generates much better Markdown documentation.
2019-05-07 15:38:49 -04:00
Don Cross
98f3e2e556
Reworked Time as an ECMAScript 2015 class.
...
The main reason I did this was to get generated Markdown
documentation to look better.
2019-05-07 15:26:57 -04:00
Don Cross
1f905f1bbd
Another attempt to make bullets work in Markdown.
2019-05-07 14:59:04 -04:00
Don Cross
58e6aeb0f9
Markdown fix: bullets do not work within a table.
2019-05-07 14:52:09 -04:00
Don Cross
a2bd3554c0
More work on documentation. Trying to get bullet lists to work in Markdown.
2019-05-07 14:37:59 -04:00
Don Cross
9de5505319
Fixed lingering vectors that did not use class Vector.
...
Also added Length member function.
2019-05-07 14:00:10 -04:00
Don Cross
8cad1fc124
More documentation work in progress.
2019-05-07 13:37:25 -04:00
Don Cross
71b54ff711
More documentation work in progress.
2019-05-06 21:42:38 -04:00
Don Cross
8c78a2e3a8
Documented functions DeltaT and TerrestrialTime.
2019-05-06 17:01:30 -04:00
Don Cross
1d814c89c8
More documentation work in progress.
2019-05-06 15:59:21 -04:00
Don Cross
fce6acd756
Checking in changes to generated files.
2019-05-06 15:03:45 -04:00
Don Cross
53ea05adc0
Removed @constructor annotators. They don't seem to do anything.
2019-05-06 14:44:01 -04:00
Don Cross
77355d1bae
Add separators between items in generated Markdown documentation.
2019-05-06 14:39:26 -04:00
Don Cross
9092bc7d89
Fixed a couple of bugs that crept in as I was refactoring code.
2019-05-06 14:33:14 -04:00
Don Cross
2c019922de
More documentation work in progress.
2019-05-06 14:27:04 -04:00
Don Cross
929397c8fa
Extend the coverage of Delta-T data as far into the future as possible.
...
Was missing any data from delta_t/predicted.txt that occurred after
the final integer year value. Now include the very last line of data
even when it is not on a year boundary.
2019-05-06 12:19:16 -04:00
Don Cross
f8515cc02f
More documentation work: PerformanceInfo.
2019-05-06 08:48:18 -04:00
Don Cross
e8eecaa632
More documentation work.
2019-05-05 21:40:24 -04:00
Don Cross
d2e2569fe2
Gave up trying to display MathJax in Markdown.
...
Instead of documenting how to calculate phase fraction, just calculate it.
Show 'number' instead of 'Number' for numeric types.
2019-05-05 19:54:06 -04:00
Don Cross
44ae81ed7f
Fixed documentation typos. Trying to use MathJax in my Markdown.
2019-05-05 17:49:19 -04:00
Don Cross
cc3fc97505
More documentation work in progress.
2019-05-05 17:21:51 -04:00