Astroquery Documentation Release 0.3.7

Total Page:16

File Type:pdf, Size:1020Kb

Astroquery Documentation Release 0.3.7 astroquery Documentation Release 0.3.7 Adam Ginsburg Mar 29, 2018 Contents I Introduction3 II Installation7 III Requirements 17 IV Using astroquery 21 V Available Services 25 VI Catalog, Archive, and Other 393 i ii astroquery Documentation, Release 0.3.7 This is the documentation for the Astroquery affiliated package of astropy. Code and issue tracker are on GitHub. Contents 1 astroquery Documentation, Release 0.3.7 2 Contents Part I Introduction 3 astroquery Documentation, Release 0.3.7 Astroquery is a set of tools for querying astronomical web forms and databases. There are two other packages with complimentary functionality as Astroquery: astropy.vo is in the Astropy core and pyvo is an Astropy affiliated package. They are more oriented to general virtual observatory discovery and queries, whereas Astroquery has web service specific interfaces. Check out the A Gallery of Queries for some nice examples. 5 astroquery Documentation, Release 0.3.7 6 Part II Installation 7 astroquery Documentation, Release 0.3.7 The latest version of astroquery can be conda installed while the latest and development versions can be pip installed or be downloaded directly from GitHub. 9 astroquery Documentation, Release 0.3.7 10 CHAPTER 1 Using pip $ pip install astroquery and the ‘bleeding edge’ master version: $ pip install https://github.com/astropy/astroquery/archive/master.zip 11 astroquery Documentation, Release 0.3.7 12 Chapter 1. Using pip CHAPTER 2 Using conda It is also possible to install the latest astroquery with anaconda from the astropy channel: $ conda install -c astropy astroquery 13 astroquery Documentation, Release 0.3.7 14 Chapter 2. Using conda CHAPTER 3 Building from source The development version can be obtained and installed from github: $ # If you have a github account: $ git clone [email protected]:astropy/astroquery.git $ # If you do not: $ git clone https://github.com/astropy/astroquery.git $ cd astroquery $ python setup.py install 15 astroquery Documentation, Release 0.3.7 16 Chapter 3. Building from source Part III Requirements 17 astroquery Documentation, Release 0.3.7 Astroquery works with Python 2.7 and 3.4 or later. The following packages are required for astroquery installation & use: • numpy >= 1.9 • astropy (>=1.0) • requests • keyring • Beautiful Soup • html5lib and for running the tests: • curl The following packages are optional dependencies and are required for the full functionality of the alma module: • APLpy • pyregion 19 astroquery Documentation, Release 0.3.7 20 Part IV Using astroquery 21 astroquery Documentation, Release 0.3.7 All astroquery modules are supposed to follow the same API. In its simplest form, the API involves queries based on coordinates or object names. Some simple examples, using SIMBAD: >>> from astroquery.simbad import Simbad >>> result_table= Simbad.query_object("m1") >>> result_table.pprint(show_unit=True) MAIN_ID RA DEC RA_PREC ... COO_QUAL COO_WAVELENGTH COO_BIBCODE "h:m:s" "d:m:s" ... ------- ----------- ----------- ------- ... -------- -------------- ------------------- M 1 05 34 31.94 +22 00 52.2 6 ... C R 2011A&A...533A..10L All query tools allow coordinate-based queries: >>> from astropy import coordinates >>> import astropy.units asu >>> # works only for ICRS coordinates: >>> c= coordinates.SkyCoord("05h35m17.3s -05d23m28s", frame= 'icrs') >>> r=5*u.arcminute >>> result_table= Simbad.query_region(c, radius=r) >>> result_table.pprint(show_unit=True, max_width=80, max_lines=5) MAIN_ID RA DEC ... COO_WAVELENGTH COO_BIBCODE "h:m:s" "d:m:s" ... ------------ ------------ ------------ ... -------------- ------------------- M 42 05 35 17.3 -05 23 28 ... 1981MNRAS.194..693L ... ... ... ... ... ... V* V2114 Ori 05 35 01.671 -05 26 36.30 ... I 2003yCat.2246....0C For additional guidance and examples, read the documentation for the individual services below. 23 astroquery Documentation, Release 0.3.7 24 Part V Available Services 25 astroquery Documentation, Release 0.3.7 If you’re new to Astroquery, a good place to start is the A Gallery of Queries: 27 astroquery Documentation, Release 0.3.7 28 CHAPTER 4 A Gallery of Queries A series of queries folks have performed for research or for kicks. 4.1 Example 1 This illustrates querying Vizier with specific keyword, and the use of astropy.coordinates to describe a query. Vizier’s keywords can indicate wavelength & object type, although only object type is shown here. >>> from astroquery.vizier import Vizier >>> v= Vizier(keywords=[ 'stars:white_dwarf']) >>> from astropy import coordinates >>> from astropy import units as u >>> c= coordinates.SkyCoord(0,0,unit=( 'deg','deg'),frame='icrs') >>> result=v.query_region(c, radius=2*u.deg) >>> print(len(result)) 31 >>> result[0].pprint() LP Rem Name RA1950 DE1950 Rmag l_Pmag Pmag u_Pmag spClass pm pmPA _RA.icrs _DE.icrs -------- --- ---- -------- -------- ---- ------ ---- ------ ------- ------ ---- -------- -------- 584-0063 00 03 23 +00 01.8 18.1 18.3 f 0.219 93 00 05 57 +00 18.7 643-0083 23 50 40 +00 33.4 15.9 17.0 k 0.197 93 23 53 14 +00 50.3 584-0030 23 54 05 -01 32.3 16.6 17.7 k 0.199 193 23 56 39 -01 15.4 4.2 Example 2 This illustrates adding new output fields to SIMBAD queries. Run list_votable_fields to get the full list of valid fields. >>> from astroquery.simbad import Simbad >>> s= Simbad() (continues on next page) 29 astroquery Documentation, Release 0.3.7 (continued from previous page) >>> # bibcodelist(date1-date2) lists the number of bibliography >>> # items referring to each object over that date range >>> s.add_votable_fields('bibcodelist(2003-2013)') >>> r=s.query_object( 'm31') >>> r.pprint() MAIN_ID RA DEC RA_PREC DEC_PREC COO_ERR_MAJA COO_ERR_MINA COO_ERR_ANGLE COO_QUAL COO_ ,!WAVELENGTH COO_BIBCODE BIBLIST_2003_2013 ------- ------------ ------------ ------- -------- ------------ ------------ ------------- -------- ---- ,!---------- ------------------- ----------------- M 31 00 42 44.330 +41 16 07.50 7 7 nan nan 0 B␣ ,! I 2006AJ....131.1163S 3758 4.3 Example 3 This illustrates finding the spectral type of some particular star. >>> from astroquery.simbad import Simbad >>> customSimbad= Simbad() >>> customSimbad.add_votable_fields('sptype') >>> result= customSimbad.query_object( 'g her') >>> result['MAIN_ID'][0] 'V* g Her' >>> result['SP_TYPE'][0] 'M6III' 4.4 Example 4 >>> from astroquery.simbad import Simbad >>> customSimbad= Simbad() >>> # We've seen errors where ra_prec was NAN, but it's an int: that's a problem >>> # this is a workaround we adapted >>> customSimbad.add_votable_fields('ra(d)','dec(d)') >>> customSimbad.remove_votable_fields('coordinates') >>> from astropy import coordinates >>> C= coordinates.SkyCoord(0,0,unit=( 'deg','deg'), frame='icrs') >>> result= customSimbad.query_region(C, radius= '2 degrees') >>> result[:5].pprint() MAIN_ID RA_d DEC_d ------------- ----------- ------------ ALFALFA 5-186 0.00000000 0.00000000 ALFALFA 5-188 0.00000000 0.00000000 ALFALFA 5-206 0.00000000 0.00000000 ALFALFA 5-241 0.00000000 0.00000000 ALFALFA 5-293 0.00000000 0.00000000 4.5 Example 5 This illustrates a simple usage of the open_exoplanet_catalogue module. Finding the mass of a specific planet: 30 Chapter 4. A Gallery of Queries astroquery Documentation, Release 0.3.7 >>> from astroquery import open_exoplanet_catalogue as oec >>> from astroquery.open_exoplanet_catalogue import findvalue >>> cata= oec.get_catalogue() >>> kepler68b= cata.find(".//planet[name= 'Kepler-68 b']") >>> print(findvalue( kepler68b, 'mass')) 0.02105109 4.6 Example 6 Grab some data from ALMA, then analyze it using the Spectral Cube package after identifying some spectral lines in the data. from astroquery.alma import Alma from astroquery.splatalogue import Splatalogue from astroquery.simbad import Simbad from astropy import units as u from astropy import constants from spectral_cube import SpectralCube m83table= Alma.query_object( 'M83', public=True) m83urls= Alma.stage_data(m83table[ 'Member ous id']) # Sometimes there can be duplicates: avoid them with # list(set()) m83files= Alma.download_and_extract_files(list(set(m83urls[ 'URL']))) m83files= m83files Simbad.add_votable_fields('rvel') m83simbad= Simbad.query_object( 'M83') rvel= m83simbad[ 'RVel_Rvel'][0]*u.Unit(m83simbad['RVel_Rvel'].unit) for fn in m83files: if 'line' in fn: cube= SpectralCube.read(fn) # Convert frequencies to their rest frequencies frange=u.Quantity([cube.spectral_axis.min(), cube.spectral_axis.max()])*(1+rvel/constants.c) # Query the top 20 most common species in the frequency range of the # cube with an upper energy state <= 50K lines= Splatalogue.query_lines(frange[0], frange[1], top20= 'top20', energy_max=50, energy_type='eu_k', only_NRAO_recommended=True) lines.pprint() # Change the cube coordinate system to be in velocity with respect # to the rest frequency (in the M83 rest frame) rest_frequency= lines[ 'Freq-GHz'][0]*u.GHz/(1+rvel/constants.c) vcube= cube.with_spectral_unit(u.km/u.s, rest_value=rest_frequency, velocity_convention='radio') # Write the cube with the specified line name fmt="{Species}{Resolved QNs}" row= lines[0] linename= fmt.format(**dict(zip(row.colnames,row.data))) (continues on next page) 4.6. Example 6 31 astroquery Documentation, Release 0.3.7 (continued from previous page) vcube.write('M83_ALMA_{linename}.fits'.format(linename=linename)) 4.7 Example 7 Find ALMA pointings that have been observed toward M83, then overplot the various fields-of view on a 2MASS im- age retrieved from SkyView. See http://nbviewer.ipython.org/gist/keflavich/19175791176e8d1fb204 for the notebook. There is an even more sophisticated
Recommended publications
  • Getting Started with Astropy
    Astropy Documentation Release 0.2.5 The Astropy Developers October 28, 2013 CONTENTS i ii Astropy Documentation, Release 0.2.5 Astropy is a community-driven package intended to contain much of the core functionality and some common tools needed for performing astronomy and astrophysics with Python. CONTENTS 1 Astropy Documentation, Release 0.2.5 2 CONTENTS Part I User Documentation 3 Astropy Documentation, Release 0.2.5 Astropy at a glance 5 Astropy Documentation, Release 0.2.5 6 CHAPTER ONE OVERVIEW Here we describe a broad overview of the Astropy project and its parts. 1.1 Astropy Project Concept The “Astropy Project” is distinct from the astropy package. The Astropy Project is a process intended to facilitate communication and interoperability of python packages/codes in astronomy and astrophysics. The project thus en- compasses the astropy core package (which provides a common framework), all “affiliated packages” (described below in Affiliated Packages), and a general community aimed at bringing resources together and not duplicating efforts. 1.2 astropy Core Package The astropy package (alternatively known as the “core” package) contains various classes, utilities, and a packaging framework intended to provide commonly-used astronomy tools. It is divided into a variety of sub-packages, which are documented in the remainder of this documentation (see User Documentation for documentation of these components). The core also provides this documentation, and a variety of utilities that simplify starting other python astron- omy/astrophysics packages. As described in the following section, these simplify the process of creating affiliated packages. 1.3 Affiliated Packages The Astropy project includes the concept of “affiliated packages.” An affiliated package is an astronomy-related python package that is not part of the astropy core source code, but has requested to be included in the Astropy project.
    [Show full text]
  • "Official Gazette of RM", No. 28/04 and 37/07), the Government of the Republic of Montenegro, at Its Meeting Held on ______2007, Enacted This
    In accordance with Article 6 paragraph 3 of the FT Law ("Official Gazette of RM", No. 28/04 and 37/07), the Government of the Republic of Montenegro, at its meeting held on ____________ 2007, enacted this DECISION ON CONTROL LIST FOR EXPORT, IMPORT AND TRANSIT OF GOODS Article 1 The goods that are being exported, imported and goods in transit procedure, shall be classified into the forms of export, import and transit, specifically: free export, import and transit and export, import and transit based on a license. The goods referred to in paragraph 1 of this Article were identified in the Control List for Export, Import and Transit of Goods that has been printed together with this Decision and constitutes an integral part hereof (Exhibit 1). Article 2 In the Control List, the goods for which export, import and transit is based on a license, were designated by the abbreviation: “D”, and automatic license were designated by abbreviation “AD”. The goods for which export, import and transit is based on a license designated by the abbreviation “D” and specific number, license is issued by following state authorities: - D1: the goods for which export, import and transit is based on a license issued by the state authority competent for protection of human health - D2: the goods for which export, import and transit is based on a license issued by the state authority competent for animal and plant health protection, if goods are imported, exported or in transit for veterinary or phyto-sanitary purposes - D3: the goods for which export, import and transit is based on a license issued by the state authority competent for environment protection - D4: the goods for which export, import and transit is based on a license issued by the state authority competent for culture.
    [Show full text]
  • The Astropy Project: Building an Open-Science Project and Status of the V2.0 Core Package*
    The Astronomical Journal, 156:123 (19pp), 2018 September https://doi.org/10.3847/1538-3881/aabc4f © 2018. The American Astronomical Society. The Astropy Project: Building an Open-science Project and Status of the v2.0 Core Package* The Astropy Collaboration, A. M. Price-Whelan1 , B. M. Sipőcz44, H. M. Günther2,P.L.Lim3, S. M. Crawford4 , S. Conseil5, D. L. Shupe6, M. W. Craig7, N. Dencheva3, A. Ginsburg8 , J. T. VanderPlas9 , L. D. Bradley3 , D. Pérez-Suárez10, M. de Val-Borro11 (Primary Paper Contributors), T. L. Aldcroft12, K. L. Cruz13,14,15,16 , T. P. Robitaille17 , E. J. Tollerud3 (Astropy Coordination Committee), and C. Ardelean18, T. Babej19, Y. P. Bach20, M. Bachetti21 , A. V. Bakanov98, S. P. Bamford22, G. Barentsen23, P. Barmby18 , A. Baumbach24, K. L. Berry98, F. Biscani25, M. Boquien26, K. A. Bostroem27, L. G. Bouma1, G. B. Brammer3 , E. M. Bray98, H. Breytenbach4,28, H. Buddelmeijer29, D. J. Burke12, G. Calderone30, J. L. Cano Rodríguez98, M. Cara3, J. V. M. Cardoso23,31,32, S. Cheedella33, Y. Copin34,35, L. Corrales36,99, D. Crichton37,D.D’Avella3, C. Deil38, É. Depagne4, J. P. Dietrich39,40, A. Donath38, M. Droettboom3, N. Earl3, T. Erben41, S. Fabbro42, L. A. Ferreira43, T. Finethy98, R. T. Fox98, L. H. Garrison12 , S. L. J. Gibbons44, D. A. Goldstein45,46, R. Gommers47, J. P. Greco1, P. Greenfield3, A. M. Groener48, F. Grollier98, A. Hagen49,50, P. Hirst51, D. Homeier52 , A. J. Horton53, G. Hosseinzadeh54,55 ,L.Hu56, J. S. Hunkeler3, Ž. Ivezić57, A. Jain58, T. Jenness59 , G. Kanarek3, S. Kendrew60 , N. S. Kern45 , W. E.
    [Show full text]
  • Data Analysis Tools for the HST Community
    EXPANDING THE FRONTIERS OF SPACE ASTRONOMY Data Analysis Tools for the HST Community STUC 2019 Erik Tollerud Data Analysis Tools Branch Project Scientist What Are Data Analysis Tools? The Things After the Pipeline • DATs: Post-Pipeline Tools Spectral visualization tools Specutils Image visualization tools io models training & documentation modeling fitting - Analysis Tools astropy-helpers gwcs: generalized wcs wcs asdf: advanced data format JWST Tools tutorials ‣ Astropy software distribution astroquery MAST JWST data structures nddata ‣ Photutils models & fitting Astronomy Python Tool coordination photutils + others Development at STScI ‣ Specutils STAK: Jupyter notebooks - Visualization Tools IRAF Add to existing python lib cosmology External replacement Build replacement pkg ‣ Python Imexam (+ds9) constants astropy dev IRAF switchers guide affiliated packages no replacement ‣ Ginga ‣ SpecViz ‣ (MOSViz) ‣ (CubeViz) Data Analysis Software at STScI is for the Community Software that is meant to be used by the astronomy community to do their science. This talk is about some newer developments of interest to the HST user community. 2. 3. 1. IRAF • IRAF was amazing for its time, and the DAT for generations of astronomers What is the long-term replacement strategy? Python’s Scientific Ecosystem Has what Astro Needs Python is now the single most- used programming language in astronomy. Momcheva & Tollerud 2015 And 3rd-most in industry… Largely because of the vibrant scientific and numerical ecosystem (=Data Science): (Which HST’s pipelines helped start!) IRAF<->Python is not 1-to-1. Hence STAK Lead: Sara Ogaz Supporting both STScI’s internal scientists and the astronomy community at large (viewers like you) requires that the community be able to transition from IRAF to the Python-world.
    [Show full text]
  • Python for Astronomers an Introduction to Scientific Computing
    Python for Astronomers An Introduction to Scientific Computing Imad Pasha Christopher Agostino Copyright c 2014 Imad Pasha & Christopher Agostino DEPARTMENT OF ASTRONOMY,UNIVERSITY OF CALIFORNIA,BERKELEY Aknowledgements: We would like to aknowledge Pauline Arriage and Baylee Bordwell for their work in assembling much of the base topics covered in this class, and for creating many of the resources which influenced the production of this textbook. First Edition, January, 2015 Contents 1 Essential Unix Skills ..............................................7 1.1 What is UNIX, and why is it Important?7 1.2 The Interface7 1.3 Using a Terminal8 1.4 SSH 8 1.5 UNIX Commands9 1.5.1 Changing Directories.............................................. 10 1.5.2 Viewing Files and Directories........................................ 11 1.5.3 Making Directories................................................ 11 1.5.4 Deleting Files and Directories....................................... 11 1.5.5 Moving/Copying Files and Directories................................. 12 1.5.6 The Wildcard.................................................... 12 2 Basic Python .................................................. 15 2.1 Data-types 15 2.2 Basic Math 16 2.3 Variables 17 2.4 String Concatenation 18 2.5 Array, String, and List Indexing 19 2.5.1 Two Dimensional Slicing............................................ 20 2.6 Modifying Lists and Arrays 21 3 Libraries and Basic Script Writing ............................... 23 3.1 Importing Libraries 23 3.2 Writing Basic Programs 24 3.2.1 Writing Functions................................................. 25 3.3 Working with Arrays 26 3.3.1 Creating a Numpy Array........................................... 26 3.3.2 Basic Array Manipulation........................................... 26 4 Conditionals and Loops ........................................ 29 4.1 Conditional Statements 29 4.1.1 Combining Conditionals........................................... 30 4.2 Loops 31 4.2.1 While-Loops....................................................
    [Show full text]
  • Investigating Interoperability of the LSST Data Management Software Stack with Astropy
    Investigating interoperability of the LSST Data Management software stack with Astropy Tim Jennessa, James Boschb, Russell Owenc, John Parejkoc, Jonathan Sicka, John Swinbankb, Miguel de Val-Borrob, Gregory Dubois-Felsmannd, K-T Lime, Robert H. Luptonb, Pim Schellartb, K. Simon Krughoffc, and Erik J. Tollerudf aLSST Project Management Office, Tucson, AZ, U.S.A. bPrinceton University, Princeton, NJ, U.S.A. cUniversity of Washington, Seattle, WA, U.S.A dInfrared Processing and Analysis Center, California Institute of Technology, Pasadena, CA, U.S.A. eSLAC National Laboratory, Menlo Park, CA, U.S.A. fSpace Telescope Science Institute, 3700 San Martin Dr, Baltimore, MD, 21218, USA ABSTRACT The Large Synoptic Survey Telescope (LSST) will be an 8.4 m optical survey telescope sited in Chile and capable of imaging the entire sky twice a week. The data rate of approximately 15 TB per night and the requirements to both issue alerts on transient sources within 60 seconds of observing and create annual data releases means that automated data management systems and data processing pipelines are a key deliverable of the LSST construction project. The LSST data management software has been in development since 2004 and is based on a C++ core with a Python control layer. The software consists of nearly a quarter of a million lines of code covering the system from fundamental WCS and table libraries to pipeline environments and distributed process execution. The Astropy project began in 2011 as an attempt to bring together disparate open source Python projects and build a core standard infrastructure that can be used and built upon by the astronomy community.
    [Show full text]
  • Research and Technical Resource Guide
    Research and Technical Resources Princeton Astrophysics This guide is meant to provide an overview of essential tools used in astronomy and astrophysics research. They are primarily aimed at the undergraduates beginning to learn the ins and outs of research. 1 General Information about the Department Here are some general things to be aware of as students in Peyton Hall. • The undergraduate portion of the website: www.princeton.edu/astro/undergraduate. This is the best place to look for requirements. • Peyton Hall documentation wiki: www.astro.princeton.edu/docs/Main Page. Lots of information on technical matters, ranging from ssh-ing into workstations to setting up printers on your computer. • See www.astro.princeton.edu/docs/Requesting assistance for the email to contact for any IT assistance you need. • Spring colloquium series: During the Spring semester, we host a speaker every Tuesday afternoon (at 4:30), followed by a reception. Speakers are invited at least partially based on their ability to give good talks. The schedule can be found at www.princeton.edu/astro/news-events/public-events. • Wunch (Wednesday Lunch): www.astro.princeton.edu/∼wunch. Slightly less formal talks are given throughout the academic year, Wednesdays, 12:30. The speakers are often postdocs or grad students. Feel free to bring (or order|see the website) lunch. • Institute for Advanced Study colloquium: www.sns.ias.edu/∼seminar/colloquia.shtml. Though not often frequented by undergrads, you are welcome to attend the Tuesday morning (11:00) talks they host. These are often given by well-known and established astrophysicists, so if one comes up on a topic you are interested in, you should check it out.
    [Show full text]
  • Python Data Analysis and Reduction Tools for Large-Scale Spectroscopy
    Community Python Data Analysis and Reduction Tools for Large-Scale Spectroscopy Erik Tollerud @eteq Astropy Coordination Data Analysis Tools Branch Committee Member Project Scientist (Also: lover of large-scale spectroscopy of local galaxies… talk to me about an Astro2020 White Paper w/ K. Gilbert about M31 & the outer LG!) Python is now the dominant Language in Astro Research Momcheva & Tollerud 2015 Python (esp. in Science) Embraces an Open Ecosystem Openness leads to sharing the load Although: Open Source ≠ Open Development (More on this later) Astropy Mirrors this “Community ecosystem” (Professional) Astronomers help write it with This means both by engineers’ guidance and for the community, It should be useful pooling our for them as part of resources their day-to-day work Specutils https://specutils.readthedocs.io An Astropy-coordinated package with data structures and standard analysis functions for spectroscopy. • Pythonic data structures for spectra ^ • MOS support specifically built-in! • Analysis functions -> • Flux, Centroids, FWHM • Continuum fitting/subtraction • Spectral arithmetic, respecting units • Line modeling Specreduce https://github.com/astropy/specreduce An in-planning (read: mostly not yet implemented) package for reducing OIR spectra (think IRAF twodspec/ onedspec’s calib parts, or IDL spec2d) Needs more contributors! Too many instruments have decided to “roll their own.” (sometimes for good reasons, sometimes not…) This could be a great place for the MSE community to start… JWST DATs are Leveraging the above Spectral
    [Show full text]
  • The Astropy Project: Building an Inclusive, Open-Science Project and Status of the V2.0 Core Package
    This is a repository copy of The Astropy Project: Building an inclusive, open-science project and status of the v2.0 core package. White Rose Research Online URL for this paper: http://eprints.whiterose.ac.uk/130174/ Version: Published Version Article: Collaboration, T.A., Price-Whelan, A.M., Sipőcz, B.M. et al. (134 more authors) (2018) The Astropy Project: Building an inclusive, open-science project and status of the v2.0 core package. The Astronomical Journal , 156 (3). 123. ISSN 0004-6256 https://doi.org/10.3847/1538-3881/aabc4f Reuse This article is distributed under the terms of the Creative Commons Attribution (CC BY) licence. This licence allows you to distribute, remix, tweak, and build upon the work, even commercially, as long as you credit the authors for the original work. More information and the full terms of the licence here: https://creativecommons.org/licenses/ Takedown If you consider content in White Rose Research Online to be in breach of UK law, please notify us by emailing [email protected] including the URL of the record and the reason for the withdrawal request. [email protected] https://eprints.whiterose.ac.uk/ The Astronomical Journal, 156:123 (19pp), 2018 September https://doi.org/10.3847/1538-3881/aabc4f © 2018. The American Astronomical Society. The Astropy Project: Building an Open-science Project and Status of the v2.0 Core Package* The Astropy Collaboration, A. M. Price-Whelan1 , B. M. Sipőcz44, H. M. Günther2,P.L.Lim3, S. M. Crawford4 , S. Conseil5, D. L. Shupe6, M. W. Craig7, N.
    [Show full text]
  • Matt's Astro Python Toolbox Documentation
    Matt’s astro python toolbox Documentation Release 0.1 Matt Craig February 24, 2017 Contents 1 Contents 1 1.1 Overview.................................................1 1.2 Installation................................................2 1.3 Automated header processing......................................4 1.4 Manual header processing........................................ 15 1.5 Image Management........................................... 16 1.6 Header processing............................................ 20 1.7 Index................................................... 34 Python Module Index 35 i ii CHAPTER 1 Contents Overview This package provides two types of functionality; only the first is likely to be of general interest. Classes for managing a collection of FITS files The class ImageFileCollection provides a table summarizing the values of FITS keywords in the files in a directory and provides easy ways to iterate over the HDUs, headers or data in those files. As a quick example: >>> from msumastro import ImageFileCollection >>> ic= ImageFileCollection('.', keywords=['imagetyp','filter']) >>> for hdu in ic.hdus(imagetype='LIGHT', filter='I'): ... print hdu.header, hdu.data.mean() does what you would expect: it loops over all of the images in the collection whose image type is ‘LIGHT’ and filter is ‘I’. For more details see Image Management. The TableTree constructs, from the summary table of an ImageFileCollection, a tree organized by values in the FITS headers of the collection. See Image Management for more details and examples. Header processing of images from the Feder Observatory Semi-automatic image processing Command line scripts for automated updating of FITS header keywords. The intent with these is that they will rarely need to be used manually once a data preparation pipeline is set up. The simplest option here is to use run_standard_header_process which will chain together all of the steps in data preparation for you.
    [Show full text]
  • Fink , a New Generation of Broker for the LSST Community Anais Möller, Julien Peloton, Emille E
    Fink , a new generation of broker for the LSST community Anais Möller, Julien Peloton, Emille E. O. Ishida, Chris Arnault, Etienne Bachelet, Tristan Blaineau, Dominique Boutigny, Abhishek Chauhan, Emmanuel Gangler, Fabio Hernandez, et al. To cite this version: Anais Möller, Julien Peloton, Emille E. O. Ishida, Chris Arnault, Etienne Bachelet, et al.. Fink , a new generation of broker for the LSST community. Monthly Notices of the Royal Astronomical Society, Oxford University Press (OUP): Policy P - Oxford Open Option A, 2021, 501 (3), pp.3272-3288. 10.1093/mnras/staa3602. hal-03045627 HAL Id: hal-03045627 https://hal-cnrs.archives-ouvertes.fr/hal-03045627 Submitted on 8 Dec 2020 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. Version 24 November 2020 Fink, a new generation of broker for the LSST community Anais Möller1¢, Julien Peloton2y, Emille E. O. Ishida1z, Chris Arnault2, Etienne Bachelet 3, Tristan Blaineau2, Dominique Boutigny4, Abhishek Chauhan5, Emmanuel Gangler1, Fabio Hernandez6, Julius Hrivnac2, Marco Leoni2,7, Nicolas Leroy2, Marc Moniez2, Sacha Pateyron2, Adrien Ramparison2, Damien Turpin8, Réza Ansari2, Tarek Allam Jr.9,10, Armelle Bajat 11, Biswajit Biswas1,12, Alexandre Boucaud13, Johan Bregeon14, Jean-Eric Campagne2, Johann Cohen-Tanugi15,1, Alexis Coleiro13, Damien Dornic17, Dominique Fouchez16, Olivier Godet18, Philippe Gris1, Sergey Karpov 11, Ada Nebot Gomez-Moran 18, Jérémy Neveu2, Stephane Plaszczynski2, Volodymyr Savchenko19, Natalie Webb17 1LPC, Université Clermont Auvergne, CNRS/IN2P3, F-63000 Clermont-Ferrand, France.
    [Show full text]
  • Conference Program
    BEYOND THE FIRST YEAR OF COLLEGE July 25–27, 2012 University of Pennsylvania and Drexel University www.advlabs.aapt.org Organizing Committee Gabe Spalding (chair), Illinois Wesleyan University Randy Peterson, The University of the South Joe Trout, Drexel University Jane Horwitz, University of Pennsylvania Charlie Johnson, University of Pennsylvania David Van Baak, Calvin College Paul Dolan, Northeastern Illinois University This conference is an “act of community,” a vision shared Lowell McCann, University of Wisconsin-River Falls by many people and brought to reality by the members Mark Masters, Indiana University - Purdue University of this organizing committee, by many of our conference Fort Wayne participants, and with the help of the vendors who share our Steve Wonnell, Johns Hopkins University vision. The idea of community is key here, underlying the degree to which this conference can impact your offerings. John Essick, Reed College Take time to enjoy each other’s company, and plan on Elizabeth George, Wittenberg University sustaining the conversation even after the conference itself has ended. In addition to helping you to implement Eric Ayars, California State University, Chico specific labs that update your curriculum, it is important Robert DeSerio, University of Florida to take this opportunity for broader considerations (in Heather Lewandoski, University of Colorado break-out discussion sessions and via panel discussions and also following presentations by Invited Speakers) Ernie Behringer, Eastern Michigan University about the curricular goals of instructional labs, tricks for Barbara Hoeling, Cal Poly Ponoma introducing more lab instruction into your department’s program, simple ways to produce a more cohesive, Nathan Frank, Augustana College integrated curriculum, how to rate your options, etc.
    [Show full text]