Starlink-pyast

Latest version: v3.15.4

Safety actively analyzes 638452 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 11

9.0.0

----------------------

- Functions such as astResample and astMask that handle grids of data
values now have alternative interfaces that can handle grids that contain
more pixels than can be represented in a 4-byte integer. This is achieved
by using 8-byte integer arguments in place of 4-byte arguments. The names
of these "8-byte" interfaces are the same as the 4-byte interfaces but
have the digit "8" appended to the function name (before any trailing data
type code). These new interfaces are documented in an extra paragraph
entitled "Handling of Huge Pixel Arrays" attached to the reference
documentation for each such function.

Note, all C or C++ code that uses AST should be recompiled to pick up
changes made to the header file ast.h. This should be done even if you do
not intend to use the new 8-byte interfaces.

8.7.2

----------------------

- By default, the AST header file "ast.h" is now installed into both
$STARLINK_DIR/include and $STARLINK_DIR/include/star. The new configure
option "--without-topinclude" can be used to prevent the header file
being installed into $STARLINK_DIR/include.

8.7.1

----------------------

- The Moc class now supports version 1.1 of the the MOC recommendation.
This includes new support for string and JSON encoded MOCs. See methods
astGetMocString and astAddMocString in the Moc class, and also the new
MocChan class.

- The FitsChan class will now read FITS-WCS headers that have
alternate axis descriptions but no primary axis descriptions.

8.7.0

----------------------

- A new subclass of Region called "Moc" has been added. A Moc
describes an arbitrary region of the sky in the form of a set of HEALPix
cells using the IVOA Multi-Order Coverage scheme..

- The Region class has a new method called astGetRegionDisc, which
returns the centre and radius of a disc that just encloses a
2-dimensional Region.

- The Bounded attribute defined by the Region class is now always
non-zero for Regions defined within a SkyFrame, regardless of whether the
Region has been negated. Previously, it was non-zero only if the Region
had not been negated. Note, this change only affects Regions defined
within SkyFrames.

8.6.3

----------------------

- Small memory leaks in Region and FitsChan classes have been fixed.

- A bug that could cause an internal buffer overrun within the FitsChan
class when writing out a FITS-WCS spectral axis with the "-LOG" algorithm
has been fixed.

- The test that a Mapping conforms to the requirements of the SIP FITS
distortion scheme has been improved.

- The astRebinSeq method of the Mapping class can now use a different
weight when pasting each separate input data array into the output mosaic.

8.6.2

----------------------

- The astWrite method of the FitsChan class can now create FITS-WCS headers
that include keyords describing focal plane distortion using the
conventions of the Spitzer SIP scheme. This is however only possible if
the SipOK attribute of the FitsChan is set to a non-zero value (which is
the default), and the FrameSet being written out contains an appropriate
PolyMap that conforms to the requirements of the SIP convention.

- The behaviour of the astLinearApprox method of the Mapping class has
been changed in cases where the Mapping being approximated generates bad
(AST__BAD) values for one or more of its outputs. Previously, any such
Mapping would be deemed non-linear and no fit would be returned. Now, a
fit is returned, provided the other outputs of the Mapping are linear,
but the fit contains AST__BAD values for the coefficients describing the
bad Mapping output.

- The astRebinSeq<X> functions accepts a new flag, AST__PARWGT, which
allows the initial weight to be given for the data being pasted into the
output arrays (the initial weight to use should be include in the "params"
array). This initial weight defaults to 1.0 if the AST__PARWGT flag is not
given.

Page 2 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.