Commit Graph

102 Commits

Author SHA1 Message Date
francois.meyer dbbcd2b3bc Merge branch 'main' of ssh://github.com/euldulle/XEphem 2021-12-09 17:19:15 +00:00
francois.meyer 8a19b15094 Suppressed useless complications (mjd/year/degrad)
Made the code easier to follow :

1. suppressed the mjd -> year transformation to access epoch
T is now computed directly from mjd - J2000.

2. conversions limited to arcsec -> radians needed by the precession formulae

3. increased PI resolution, added TWOPI, radarcsec and arsecrad constants in astro.h
2021-12-09 17:09:51 +00:00
François Meyer 8f2a3c5e2b
Merge branch 'XEphem:main' into main 2021-12-09 14:21:59 +00:00
Brandon Rhodes 8fb84dc758 Remove cast to non-standard type `ulong`
Per discussion #23, where a user reported `ulong` missing on macOS.
2021-12-06 15:37:12 -05:00
francois.meyer 583a2c8360 comment updated for function do_precess() 2021-12-05 12:49:00 +00:00
francois.meyer 8de630f584 Merge branch 'main' of ssh://github.com/euldulle/XEphem 2021-12-05 12:07:04 +00:00
francois.meyer 64aec6d40f New layout for precession functions
added a generic computation function that does
both backward to 2000.0 and forward from 2000.0
depending on one parameter dir which indicates direction :
if dir <0 computes transformation from equinox to 2000.0
if dir >0 computes transformation from 2000.0 to equinox

This avoids code duplication, noticeably for the
transformation formulae.
2021-12-05 12:05:33 +00:00
François Meyer fbc4f18f73
Merge branch 'XEphem:main' into main 2021-12-04 13:35:53 +00:00
francois.meyer 03e0c1c17b indent fix 2021-12-03 23:39:06 +00:00
francois.meyer ed14b08b92 Updated formulas for precession
updated from
'Astronomical Ephermeris 1989, p B18'
to
'Astronomical Almanac 2020, p B52'
as suggested by rmathar
2021-12-03 14:54:49 +00:00
Brandon Rhodes b8450a6387 Replace duplicate “png/” directory with symlink 2021-11-30 17:34:39 -05:00
dave-kaye b63f0ae033
Add “visual.txt” to menu; add dates to downloads (#37) 2021-11-30 15:09:01 -05:00
François Meyer 3a688c606a
Merge branch 'XEphem:main' into main 2021-11-29 16:16:22 +00:00
Brandon Rhodes 6f5a2e7954 Redirect GitHub Pages / to Site/, not ref manual 2021-11-29 10:26:56 -05:00
François Meyer 20dd4be6a4
Add support for ucac5 catalog (#42) 2021-11-29 06:49:29 -05:00
francois.meyer e6d49eace8 ucac5: switch to UCAC RA and DEC as primary source
read ira as RA  (UCAC RA  at epoch epu)
 and dcg as DEC (UCAC DEC at epoch epu)

instead of the GAIA values rag and dcg.

(http://tdc-www.harvard.edu/software/catalogs/ucac5_format.html section c)

The reason for the switch is that rag and dcg are
given at epoch 2015.0 ; and it proves hard
(at least I failed) to figure out exactly what is taken into account here ;
the xephem internals apply precession and other corrections
later, so there might be some ambiguities here. And indeed,
there are significant differences between expected results
when compared to those obtained in the vizier database interface.

The issue does not even pop with ira and dcg, based on ucac epoch,
very similarly to what is done in ucac4.
Now xephem shows results (tested on a few stars) within 0.01 arcsecond
of the data from the vizier interface.
2021-11-26 15:52:17 +00:00
francois.meyer c616bf9895 1 more indent fix.
no code change.
2021-11-23 22:41:13 +00:00
francois.meyer 58753810f0 comments cleaned, indentation fixed.
removed unneeded comments
removed "under work" comment for ucac5 support
indentation reversed to match the existing indent scheme.
2021-11-23 22:26:48 +00:00
francois.meyer 9613fd7060 bug fix, removed useless readu5hp()m, cleanup
1. there was a 4 byte shift error in decoding raw  records  for  rawpmra
   and rawpmdec.

2. Proper motion management clarified. readu5hp() is unnecessary as  far
   as I can tell,  proper  motions  are  included  in  raw  records.

   In crack5(), raop->f_RA and op->f_dec are referenced  to  J2000,  and
   are later processed to account for proper motion up  to  the  current
   epoch (circum.c:obj_fixed())

   Successfull proper motion  check  against  high  proper  motion  star
   HIP74995 (>1arcsec/yr)

3. some code cosmetics
2021-11-23 16:58:03 +00:00
Brandon Rhodes ff85c47db1 Fix order of arguments passed to deflect()
The poor behavior was discovered thanks to PyEphem testing by @aendie,
reported in: https://github.com/brandon-rhodes/pyephem/issues/220
2021-11-23 10:53:37 -05:00
Brandon Rhodes 426a7bbe21 For #30, remove repeated “https://” from URL 2021-11-23 07:36:19 -05:00
francois.meyer 859421cda4 Merge branch 'main' of ssh://github.com/euldulle/XEphem 2021-11-23 08:48:21 +00:00
francois.meyer 7a490c7998 fixed openIndex indentation 2021-11-23 08:47:09 +00:00
R. J. Mathar aaaea1edc5 Update {astro,mpcorb}2edb.pl Perl scripts to HTTPS 2021-11-22 14:09:38 -05:00
François Meyer 76fc026e27
Merge branch 'XEphem:main' into main 2021-11-22 15:23:41 +00:00
francois.meyer 9c5bafb400 removed unused variables in ucac.c (crack5) 2021-11-22 14:58:33 +00:00
francois.meyer ec3cbc18e0 First go at ucac5 support
Proper motions and epochs have to be checked
2021-11-22 14:52:40 +00:00
Brandon Rhodes b27947efcd Fix “gamma.html” external link, per David Kirkby
As discussed on the XEphem mailing list on groups.io.
2021-11-21 14:52:27 -05:00
François Meyer 9fbcb82eb8
Merge branch 'XEphem:main' into main 2021-11-21 11:53:09 +00:00
Brandon Rhodes 899d91d7b5 Use “/Site” not “/GUI” as Reference Manual’s URL 2021-11-20 14:22:17 -05:00
Brandon Rhodes 7ba90f6513 Drop “file:///home/ecdowney” from Ref Manual links 2021-11-20 14:17:00 -05:00
Brandon Rhodes 760ed3ba36 Add “Reference Manual” to HTML title in <head> 2021-11-20 14:11:21 -05:00
Brandon Rhodes e9809ef91b Replace duplicate Reference Manual with symlink 2021-11-20 14:10:08 -05:00
Lutz Mändle a0ed773fe1 Remove x ≤ 1280 constraint on tooltip positions
Patch “xephem-4.1.0_tips_position.patch” from the mailing list.
2021-11-13 19:18:58 -05:00
Lutz Mändle 00a554899b Replace “ftp.lowell.edu” FTP with their new HTTPS
Patch “xephem-4.1.0_auxil_astorb2edb.patch” from the mailing list.
2021-11-13 19:13:09 -05:00
dave-kaye 85821c82bb Update docs for USNO field star catalogs (#33) 2021-11-03 16:07:08 -04:00
Brandon Rhodes 2da95b1901 Remove .patch files that have been applied already 2021-11-03 15:58:17 -04:00
Brandon Rhodes 3d7e09a347 Support mouse scroll wheel zoom in the Skyview 2021-10-28 14:24:57 -04:00
Brandon Rhodes 02389fa485 Fix #32: load other websites outside frames
Stops these links from making a browser error display in the frame.
2021-10-27 12:04:36 -04:00
Lutz Mändle aca43a3baf Sky View: avoid window resizing on DSS download
Previously, a wide Sky View window would be resized to a square after a
DSS download completed.  From groups.io mailing list patch
“xephem-4.1.0_skyviewmenu_sv_getcenter.patch”.
2021-10-08 10:21:41 -04:00
Lutz Mändle d066f6c852 Sky View: fix DSS image fetch and display with SSL
Patch “xephem-4.1.0_skyfits_ssl.patch” from groups.io mailing list.
2021-10-08 10:20:50 -04:00
Brandon Rhodes 2e9b22ab9f Restore ability to compile with OpenSSL <1.1
This fixes the breakage on older systems caused by the previous commit.
2021-10-08 10:04:16 -04:00
Lutz Mändle 733cdef5e5 Rework main SSL logic for OpenSSL 1.1.x
Also, initialize openssl as early as possible.  (Brandon notes: this
breaks compatibility with older systems, but he will follow up with a
patch fixing the problem.)
2021-10-08 09:22:38 -04:00
Brandon Rhodes b421f91a9b Add “libssl-dev” to packages listed in “INSTALL” 2021-09-27 09:14:46 -04:00
Brandon Rhodes 1a890b614c Docker: fix container names; support --no-cache 2021-09-23 05:38:25 -04:00
Serge Montagnac 625bc9b878 Last fix of first line in uranus.2040 2021-09-21 06:16:30 -04:00
Brandon Rhodes eeb87dc7a6 Add “-lssl” to macOS compile options
Thanks to randolf0klein for pointing this out on groups.io.
2021-09-14 20:15:31 -04:00
Brandon Rhodes 38a3fbd2b1 Fix embarrasing typo 2021-09-13 17:57:42 -04:00
Brandon Rhodes f0fd4e9189 Declare version 4.1.0 2021-09-13 12:55:21 -04:00
Brandon Rhodes 3f76d700d5 Add changelog entry for new SSL support 2021-09-13 11:57:12 -04:00