Add the get_raw
routine which does not try to read in the data
stored in the URL response. Improved the handling of data from the
DATA, PIXELTABLE, and REGION commands (when used with get
) by
returning a FITS HDUList or NumPy array instead of a string. Added the
get_image_info
method to return basic information about the current
image.
Let's try ruff for linting and code formatting.
Added the send_cat
and retrieve_cat
methods to allow you to
send and retrieve catalogs. Catalogs can be sent as AstroPy
tables or
FITS tables.
Cleaned up code introduced in version 0.0.7. There should be no functional change, but the code just looks better.
Added the send_fits
and retrieve_fits
methods to allow you to
directly work with AstroPy FITS
objects.
The ds9samp_list
tool has gained the --verbose
flag, which displays
the metadata for each DS9 instance that it finds.
The send_array
and retrieve_array
methods can now handle 3D arrays
as well as 2D ones. Data in RGB, HLS, or HSV format is identified by
setting the cube
argument in send_array
to one of: Cube.RGB
,
Cube.HLS
, or Cube.HSV
.
Commands which return data via a url, such as "data", will now return
the contents of this file, rather than returning None
(this is only
valid for get
calls).
The ds9 connection has now gained a debug field which can be set to
True
to display the SAMP return value for each set
or get
call.
Added the retrieve_array
method, which saves the current frame to a
temporary file and then reads the data as a NumPy array.
The send_array
method will create a new frame if needed (otherwise
the call to load the array data will fail). The mask argument should
be set to True if the array should be treated as a mask for the
frame. It now requires optional arguments to be explicitly named
(i.e. keyword only).
The command-line tools now include the package version number when reporting an error. For example:
% ds9samp_list
# ds9samp_list (0.0.4): ERROR Unable to find a running SAMP Hub.
Added the send_array
method to allow users to send a NumPy array
directly to DS9. Added this
changelog.
A documentation release:
-
added a note about the astropy-samp-ds9 Python version that was released at essentially the same time as
ds9samp
; -
added links to some of the tools and systems we talk about;
-
and additions and improvements to the README.
Initial version.