Skip to content

AST Version 8.6.1

Compare
Choose a tag to compare
@dsberry dsberry released this 11 Dec 11:48
· 257 commits to master since this release

Main Changes in V8.6.1:

  • A new function call astCreatedAt is now available that returns the function name, file path and line number at which an AST object was first created.

  • The number of digits used to format floating point values has been increased in order to avoid loss of precision when converting from binary to string and back to binary. This could cause very small changes in numerical values returned by AST functions.

  • If a FrameSet is supplied as the "Map" argument to astAddFrame, it now extracts and stores the base->current Mapping from the supplied FrameSet. Previously, the entire FrameSet was stored as the Mapping.

Main Changes in V8.5.1:

  • A new class of Mapping called ChebyMap has been added. This is a Mapping that implements Chebyshev polynomial transformations.

  • If the function that delivers error messages to the user (astPutErr) is re-implemented, the new version can now be registered at run-time using the new astSetPutErr function. Previously, the new version needed to be linked into the application at build time.

  • A bug has been fixed in the PolyMap class that caused incorrect values to be returned for the TranForward and TranInverse attributes if the PolyMap has been inverted.

  • The KeyMap class has a new method called astMapGetC (AST_MAPGETC) which returns a named entry as a single string. If the entry is a vector the returned string is a comma-separated list of its elements, enclosed in parentheses.

  • The Frame class now has a new attribute caled DTAI, which can be used to specify the number of leap seconds at the moment represented by the Frame's Epoch attribute. By default, the internal look-up table of leap seconds contained within AST is used. The DTAI attribute allows old versions of AST, which may not include the most recent leap seconds, to be used with new data.

  • The TimeMap class has been changed so that some conversions now require a "Dtai" value (i.e. the number of leap seconds) to be supplied by the caller. If AST__BAD is supplied for "Dtai", the internal look-up table of leap seconds contained withn AST will be used. The conversions affected are those between TAI and UTC, and those between TT and TDB.