Skip to content

Commit

Permalink
apidoc edits and site update
Browse files Browse the repository at this point in the history
  • Loading branch information
attipaci committed Nov 11, 2024
1 parent ddf6437 commit d5d00f3
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).


## [1.2.0-rc1] - 2024-11-11
## [Unreleased]

Changes expected for the next feature release, expected around 1 February 2025.

Expand Down
2 changes: 1 addition & 1 deletion LEGACY.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SuperNOVAS: Astrometric Positions the Old Way
# Astrometric Positions the Old Way

As of version 1.1, the SuperNOVAS library offers a new, more versatile, more intuitive, and more efficient way to
calculate the astrometric positions (and velocities) of celestial sources, via observing frames (see `README.md`).
Expand Down
3 changes: 3 additions & 0 deletions src/naif.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
* this set (and no defined ID for EMB), thus for all other objects we'll assume and use NOVAS IDs that match NAIF.
*
* @since 1.2
*
* @sa solsys-calceph.c
* @sa solsys-cspice.c
*/

#include <errno.h>
Expand Down
16 changes: 13 additions & 3 deletions src/solsys-calceph.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,21 @@
* @author A. Kovacs
* @since 1.2
*
* SuperNOVAS major planet ephemeris lookup implementation via the CALCEPH C library
* See https://calceph.imcce.fr/docs/4.0.0/html/c/
* SuperNOVAS Solar-system ephemeris lookup implementation via the CALCEPH C library.
*
* CALCEPH source code is at https://gitlab.obspm.fr/imcce_calceph/calceph
* This is an optional component of SuperNOVAS, which interfaces to the CALCEPH C library.
* As such, you may need the CALCEPH runtime libraries in an accessible location (such
* as in `/usr/lib`) to use, and you will need development files (C headers and unversioned
* libraries) to build. Thus, this module is compiled only if `CALCEPH_SUPPORT` is set
* to 1 prior to the build.
*
* REFERENCES:
* <ol>
* <li>CALCEPH is at https://calceph.imcce.fr/docs/4.0.0/html/c/</li>
* <li>CALCEPH source code is at https://gitlab.obspm.fr/imcce_calceph/calceph</li>
* </ol>
*
* @sa solsys-cspice.c
*/

#include <string.h>
Expand Down
24 changes: 22 additions & 2 deletions src/solsys-cspice.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,25 @@
* @author A. Kovacs
* @since 1.2
*
* SuperNOVAS major planet ephemeris lookup implementation via the NAIF CSPICE library
* See https://naif.jpl.nasa.gov/naif/toolkit.html
* SuperNOVAS Solar-system ephemeris lookup implementation via the NAIF CSPICE library.
*
* This is an optional component of SuperNOVAS, which interfaces to the NAIF CSPICE Toolkit.
* As such, you may need the CSPICE runtime libraries in an accessible location (such
* as in `/usr/lib`), and you will need development files (C headers under a `cspice/`
* sub-folder, such as in `/usr/include/cspice/`; and unversioned libraries) to build. Thus,
* this module is compiled only if `CSPICE_SUPPORT` is set to 1 prior to the build.
*
* Before building SuperNOVAS against CSPICE, you might want to check out the
* `Smithsonian/cspice-sharedlib` repository on Github to facilitate the building of CSPICE
* as a shared library instead of the static library built by the uptream distribution.
*
* REFERENCES:
* <ol>
* <li>The NAIF CSPICE Toolkit: https://naif.jpl.nasa.gov/naif/toolkit.html</li>
* <li>the Smithsonian/cspice-sharedlib repository: https://github.com/Smithsonian/cspice-sharedlib</li>
* </ol>
*
* @sa solsys-calceph.c
*/

#include <string.h>
Expand Down Expand Up @@ -103,6 +119,7 @@ static int get_cspice_error(char *msg, int len) {
* EINVAL).
*
* @sa cspice_remove_kernel()
* @sa novas_use_cspice()
*
* @author Attila Kovacs
* @since 1.2
Expand Down Expand Up @@ -460,6 +477,7 @@ static int novas_cspice(const char *name, long id, double jd_tdb_high, double jd
*
* @sa novas_use_cspice_planets()
* @sa novas_use_cspice()
* @sa cspice_add_kernel()
* @sa set_ephem_provider()
*
* @author Attila Kovacs
Expand All @@ -483,6 +501,7 @@ int novas_use_cspice_ephem() {
*
* @sa novas_use_cspice_ephem()
* @sa novas_use_cspice()
* @sa cspice_add_kernel()
* @sa set_planet_provider()
* @sa set_planet_provider_hp()
*
Expand All @@ -508,6 +527,7 @@ int novas_use_cspice_planets() {
*
* @sa novas_use_cspice_planets()
* @sa novas_use_cspice_ephem()
* @sa cspice_add_kernel()
*
* @author Attila Kovacs
* @since 1.2
Expand Down

0 comments on commit d5d00f3

Please sign in to comment.