Astlib

Latest version: v0.12.0

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

Scan your dependencies

Page 3 of 3

0.3.1

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

* Fixed bug in contour overlays so should now work on any image with any valid WCS that WCSTools
understands.

* Speeded up contour overlay generation significantly - can select a "high accuracy" mode that is similar
to the old method.

* Fixed bug when parsing FITS headers with extra long header cards (as can be found in e.g. headers of some
Chandra images). Previously, these would cause the coordinate conversion routines to fail.

* Added cross and diamond plot symbols to ImagePlot.

* Added scale bar to ImagePlot.

* Changes such as adding plot objects or contour overlays in ImagePlot now cause the plot to be redrawn -
i.e. calling ImagePlot.draw after such changes is no longer necessary.

* Rewritten coordinate axes labelling in ImagePlot - should now be much more robust, and automatically
choose sensible tick steps. If it doesn't, it can now be overridden using the RATickSteps, decTickSteps
parameters. Dropped option for minor tick marks for now.

* Added clipUsingRADecCoords, resampleToTanProjection to astImages module.

* Fixed bug in astCoords conversion from decimal to dms/hms: previously, sometimes seconds in dms/hms could
equal 60.00 instead of 00.00.

0.3.0

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

* Added the astSED module.

* Fixed bug in astImages.clipImageSectionWCS, where if returnWCS = False, didn't return data.

* Added NUMPY_MODE to astWCS and enabled it by default (i.e., WCS pixel coordinates are now zero indexed).

* Tidied up astImages clipping routines - now return dictionaries with keys 'data', 'wcs' (instead of
'clippedData', 'clippedWCS' as previously). Also, clipping routines can now clip rectangles if given
a list in format [width, height].

* Removed astPlots finderChart, contourOverlayChart macros and replaced them with a new ImagePlot class.
This has a much better, simpler but more flexible interface with several new features (e.g. overplotting
objects with RA, dec. coords).

* Now raising exceptions rather than printing error messages and exiting when things go wrong.

* Added several new miscellaneous functions across the modules.

* Added new example scripts.

* Added a warning about potential locale problems for locales where decimal point separator is not '.'.

Page 3 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.