From erik.tollerud at gmail.com Tue Dec 11 19:16:08 2018 From: erik.tollerud at gmail.com (Erik Tollerud) Date: Tue, 11 Dec 2018 19:16:08 -0500 Subject: [AstroPy] ANN: Astropy v3.1 released Message-ID: Dear colleagues, We are very happy to announce the v3.1 release of the Astropy package, a core Python package for Astronomy: http://www.astropy.org Astropy is a community-driven Python package intended to contain much of the core functionality and common tools needed for astronomy and astrophysics. It is part of the Astropy Project, which aims to foster an ecosystem of interoperable astronomy packages for Python. The focus of this release is on performance, but it also contains new and improved major functionality. Highlights include: * Performance Improvements across-the-board * A new sub-package for Uncertainties and Distributions * A new Box Least Squares Periodogram * J-style coordinates parser * Support for use of Time and TimeDelta columns within a Table * Array-valued Time and TimeDelta objects are now mutable * Better uncertainty support and bit planes in NDData * A new operator for Quantity performance * Thermodynamic temperature equivalency * Little-h equivalency * Change in default cosmology * Significant improvements in WCSAxes * A new convenience function for imshow with ImageNormalize * A common API for World Coordinate Systems In addition, hundreds of smaller improvements and fixes have been made. An overview of the changes is provided at: http://docs.astropy.org/en/stable/whatsnew/3.1.html Note that the Astropy 3.x series only supports Python 3. Python 2 users can continue to use the 2.x (LTS) series (but without new features). Instructions for installing Astropy are provided on our website, and extensive documentation can be found at: http://docs.astropy.org If you make use of the Anaconda Python Distribution, you can update to Astropy v3.1 with: conda update astropy Whereas if you usually use pip, you can do: pip install astropy --upgrade Please report any issues, or request new features via our GitHub repository: https://github.com/astropy/astropy/issues Over 300 developers have contributed code to Astropy so far, and you can find out more about the team behind Astropy here: http://www.astropy.org/team.html As a reminder, Astropy v2.0 (our long term support release) will continue to be supported with bug fixes (but no new features) until the end of 2019, so if you need to use Astropy in a very stable environment, you may want to consider staying on the v2.0.x set of releases (for which we have recently released v2.0.10). If you use Astropy directly for your work, or as a dependency to another package, please remember to acknowledgment it by citing the appropriate Astropy paper. For the most up-to-date suggestions, see the acknowledgement page (http://www.astropy.org/acknowledging.html), but as of this release the recommendation is: This research made use of Astropy, a community-developed core Python package for Astronomy (Astropy Collaboration, 2018). where (Astropy Collaboration, 2018) is a reference to https://doi.org/10.3847/1538-3881/aabc4f Special thanks to the coordinator for this release: Brigitta Sipocz. We hope that you enjoy using Astropy as much as we enjoyed developing it! Erik Tollerud, Tom Robitaille, Kelle Cruz, and Tom Aldcroft on behalf of The Astropy Collaboration -------------- next part -------------- An HTML attachment was scrubbed... URL: From philippe.salome at obspm.fr Tue Dec 18 10:18:36 2018 From: philippe.salome at obspm.fr (salome) Date: Tue, 18 Dec 2018 16:18:36 +0100 Subject: [AstroPy] astropy.samp Message-ID: Hi, I am new on this list, but I am an astronomer using astropy. I recently noticed a pb when trying to send a FITS file from a serveur to ds9 via SAMP (while it works perfectly well with the same file from the same serveur via SAMP to Aladin, same code, 2 clients open). I followed the docs here : http://docs.astropy.org/en/stable/samp/example_table_image.html#sending-an-image-to-ds9-and-aladin . ?> It works well with Aladin ?> It does not work with ds9 Does anyone already encountered this pb ? Thanks ! --- Philippe Salom? LERMA, Observatoire de Paris ================= The pop-up ds9 error message is the following ? File not Found or Unable to load FITS data MIME type text/plain ? With : Python 3.7.0 (default, Jun 28 2018, 07:39:16) Type 'copyright', 'credits' or 'license' for more information IPython 6.5.0 -- An enhanced Interactive Python. Type '?' for help. And : In [3]: astropy.__version__ Out[3]: ?3.0.4? And : SAO Image Ds9 version 7.6 The script : === from astropy.samp import SAMPHubServer hub = SAMPHubServer() hub.start() from astropy.samp import SAMPIntegratedClient client = SAMPIntegratedClient() client.connect() params = {} params["name"] = "My data" params["url"]='http://myserver.fr/~mydirectory/myfile.fits ' message = {} message["samp.mtype"] = 'image.load.fits' message["samp.params"] = params client.get_registered_clients() client.notify_all(message) client.disconnect() hub.stop() === -------------- next part -------------- An HTML attachment was scrubbed... URL: From wjoye at cfa.harvard.edu Tue Dec 18 12:25:08 2018 From: wjoye at cfa.harvard.edu (William Joye) Date: Tue, 18 Dec 2018 12:25:08 -0500 Subject: [AstroPy] AstroPy Digest, Vol 147, Issue 2 In-Reply-To: References: Message-ID: <348A4123-2FB0-4734-9911-9C42EB6CE773@cfa.harvard.edu> Philippe Please download the latest official release of DS9 version 8.0 at: http://ds9.si.edu/site/Download.html It contains a fix for this issue. In more detail, your server is returning an inappropriate MIME type for a FITS file. That being said, this is a common problem, and not the fault of the user, so DS9 now treats the MIME type ?text/plain? as acceptable for a FITS file. Regards bill joye > On Dec 18, 2018, at 12:00 PM, astropy-request at python.org wrote: > > Send AstroPy mailing list submissions to > astropy at python.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://mail.python.org/mailman/listinfo/astropy > or, via email, send a message with subject or body 'help' to > astropy-request at python.org > > You can reach the person managing the list at > astropy-owner at python.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of AstroPy digest..." > > > Today's Topics: > > 1. astropy.samp (salome) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 18 Dec 2018 16:18:36 +0100 > From: salome > To: astropy at python.org > Subject: [AstroPy] astropy.samp > Message-ID: > Content-Type: text/plain; charset="utf-8" > > Hi, > > I am new on this list, but I am an astronomer using astropy. I recently noticed a pb when trying to send a FITS file from a serveur to ds9 via SAMP (while it works perfectly well with the same file from the same serveur via SAMP to Aladin, same code, 2 clients open). > > I followed the docs here : http://docs.astropy.org/en/stable/samp/example_table_image.html#sending-an-image-to-ds9-and-aladin . > > ?> It works well with Aladin > ?> It does not work with ds9 > > Does anyone already encountered this pb ? > Thanks ! > > --- > Philippe Salom? > LERMA, Observatoire de Paris > > ================= > > The pop-up ds9 error message is the following > ? File not Found or Unable to load FITS data MIME type text/plain ? > > With : > > Python 3.7.0 (default, Jun 28 2018, 07:39:16) > Type 'copyright', 'credits' or 'license' for more information > IPython 6.5.0 -- An enhanced Interactive Python. Type '?' for help. > > And : > > In [3]: astropy.__version__ > Out[3]: ?3.0.4? > > And : > > SAO Image Ds9 version 7.6 > > The script : > > === > from astropy.samp import SAMPHubServer > hub = SAMPHubServer() > hub.start() > > from astropy.samp import SAMPIntegratedClient > client = SAMPIntegratedClient() > client.connect() > > params = {} > params["name"] = "My data" > params["url"]='http://myserver.fr/~mydirectory/myfile.fits ' > > message = {} > message["samp.mtype"] = 'image.load.fits' > message["samp.params"] = params > > client.get_registered_clients() > client.notify_all(message) > client.disconnect() > hub.stop() > === > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > AstroPy mailing list > AstroPy at python.org > https://mail.python.org/mailman/listinfo/astropy > > > ------------------------------ > > End of AstroPy Digest, Vol 147, Issue 2 > *************************************** From philippe.salome at obspm.fr Tue Dec 18 13:10:04 2018 From: philippe.salome at obspm.fr (salome) Date: Tue, 18 Dec 2018 19:10:04 +0100 Subject: [AstroPy] AstroPy Digest, Vol 147, Issue 2 In-Reply-To: <348A4123-2FB0-4734-9911-9C42EB6CE773@cfa.harvard.edu> References: <348A4123-2FB0-4734-9911-9C42EB6CE773@cfa.harvard.edu> Message-ID: <3F9A796C-79C6-4FB1-A028-2AD8940C54D4@obspm.fr> Dear William, Indeed, it works ! (I am sorry I did not think of updating ds9 from 7.6 to 8. Good to know). Thanks a lot for your prompt reply. Regards, Philippe > Le 18 d?c. 2018 ? 18:25, William Joye a ?crit : > > Philippe > > Please download the latest official release of DS9 version 8.0 at: > > http://ds9.si.edu/site/Download.html > > It contains a fix for this issue. > > In more detail, your server is returning an inappropriate MIME type for a FITS file. That being said, this is a common problem, and not the fault of the user, so DS9 now treats the MIME type ?text/plain? as acceptable for a FITS file. > > Regards > > bill joye > > >> On Dec 18, 2018, at 12:00 PM, astropy-request at python.org wrote: >> >> Send AstroPy mailing list submissions to >> astropy at python.org >> >> To subscribe or unsubscribe via the World Wide Web, visit >> https://mail.python.org/mailman/listinfo/astropy >> or, via email, send a message with subject or body 'help' to >> astropy-request at python.org >> >> You can reach the person managing the list at >> astropy-owner at python.org >> >> When replying, please edit your Subject line so it is more specific >> than "Re: Contents of AstroPy digest..." >> >> >> Today's Topics: >> >> 1. astropy.samp (salome) >> >> >> ---------------------------------------------------------------------- >> >> Message: 1 >> Date: Tue, 18 Dec 2018 16:18:36 +0100 >> From: salome >> To: astropy at python.org >> Subject: [AstroPy] astropy.samp >> Message-ID: >> Content-Type: text/plain; charset="utf-8" >> >> Hi, >> >> I am new on this list, but I am an astronomer using astropy. I recently noticed a pb when trying to send a FITS file from a serveur to ds9 via SAMP (while it works perfectly well with the same file from the same serveur via SAMP to Aladin, same code, 2 clients open). >> >> I followed the docs here : http://docs.astropy.org/en/stable/samp/example_table_image.html#sending-an-image-to-ds9-and-aladin . >> >> ?> It works well with Aladin >> ?> It does not work with ds9 >> >> Does anyone already encountered this pb ? >> Thanks ! >> >> --- >> Philippe Salom? >> LERMA, Observatoire de Paris >> >> ================= >> >> The pop-up ds9 error message is the following >> ? File not Found or Unable to load FITS data MIME type text/plain ? >> >> With : >> >> Python 3.7.0 (default, Jun 28 2018, 07:39:16) >> Type 'copyright', 'credits' or 'license' for more information >> IPython 6.5.0 -- An enhanced Interactive Python. Type '?' for help. >> >> And : >> >> In [3]: astropy.__version__ >> Out[3]: ?3.0.4? >> >> And : >> >> SAO Image Ds9 version 7.6 >> >> The script : >> >> === >> from astropy.samp import SAMPHubServer >> hub = SAMPHubServer() >> hub.start() >> >> from astropy.samp import SAMPIntegratedClient >> client = SAMPIntegratedClient() >> client.connect() >> >> params = {} >> params["name"] = "My data" >> params["url"]='http://myserver.fr/~mydirectory/myfile.fits ' >> >> message = {} >> message["samp.mtype"] = 'image.load.fits' >> message["samp.params"] = params >> >> client.get_registered_clients() >> client.notify_all(message) >> client.disconnect() >> hub.stop() >> === >> -------------- next part -------------- >> An HTML attachment was scrubbed... >> URL: >> >> ------------------------------ >> >> Subject: Digest Footer >> >> _______________________________________________ >> AstroPy mailing list >> AstroPy at python.org >> https://mail.python.org/mailman/listinfo/astropy >> >> >> ------------------------------ >> >> End of AstroPy Digest, Vol 147, Issue 2 >> *************************************** > From thomas.robitaille at gmail.com Sun Dec 30 11:10:27 2018 From: thomas.robitaille at gmail.com (Thomas Robitaille) Date: Sun, 30 Dec 2018 16:10:27 +0000 Subject: [AstroPy] ANN: APLpy 2.0 release candidate Message-ID: Hi everyone, The APLpy package , which is now almost 10 years old (!), provides a way to easily produce publication-quality plots of astronomical images. Since the 1.0 release of APLpy in 2015, we have been working on modernizing APLpy to use as much as possible the rest of the Astropy ecosystem, including for example astropy.visualization and the reproject package. Following this work, we are now in a position to release APLpy 2.0. However, since this release includes big changes under the hood, we are first making available a 2.0rc1 release candidate to iron out any issues before the final 2.0 release. You can install the release candidate with pip using: pip install aplpy --pre --upgrade Note that APLpy 2.0 will only work with Python 3.5 or later, and is not compatible with Python 2.7. You can find the documentation that goes with this release at: https://aplpy.readthedocs.io/en/latest/ If you run into any issues with this release candidate, please report them in the APLpy issue tracker on GitHub: https://github.com/aplpy/aplpy/issues Thanks to everyone who has contributed to APLpy over the years! Cheers, Tom -------------- next part -------------- An HTML attachment was scrubbed... URL: