Skip to main content

MW stream library toolkit

Project description

galstreams

see plot here

DESCRIPTION:

The new and improved galstreams Library of Stellar Streams in the Milky Way (v1.0) is introduced. Stellar streams are now supported as track SkyCoord objects (Track6D), rather than the Footprint objects provided in the previous version (v0.1). The main new features of the library are:

  • Celestial, distance, proper motion and radial velocity tracks for each stream (pm/vrad when available) stored as astropy SkyCoord objects
  • Stream's (heliocentric) coordinate frame realised as astropy reference frame
  • Stream's end-points and mid-point
  • Polygon Footprints
  • Pole (at mid point) and pole tracks in the heliocentric and Galactocentric (GSR) frames
  • Angular momentum track in a heliocentric reference frame at rest with respect to the Galactic centre
  • Summary object for the full library: Uniformly reported stream length, end points and mid-point, heliocentric and Galactocentric mid-pole, track and discovery references and information flag denoting which of the 6D attributes (sky, distance, proper motions and radial velocity) are available in the track object.

The new library includes 126 stream tracks corresponding to 95 distinct stellar streams (updated as of March 2022). The library is described in detail in Mateu (2023).

LATEST CHANGES

  • 2023/05 Widths in phi2, pmphi1_cosphi2/phi2 are now implemented: median widths available in summary table.
  • 2023/04 The quick plot method is back! Check out MWStreams.plot_stream_compilation() in the Quick plots section of the examples notebook
  • 2023/04 Pandas (v1.3) unit handling error in summary attribute fixed (this fixes errors that came up in the newest pandas versions when accesing mws.summary using .loc)
  • 2023/02 get_track_names_in_sky_window method added for convenience. It provides a list of the stream tracks present in a sky window with limits provided by the user in an arbitrary coordinate frame
  • 2023/02 TOPCAT-friendly csv files containing all stream tracks, end-points, mid-points and the library summary table can now printed when the library is instantiated. They are stored by default in galstreams/tracks, but can be saved at any user-defined location if using the print_topcat_friendly_compilation method

REQUIREMENTS

  • Python modules required are NUMPY, SCIPY, MATPLOTLIB, ASTROPY and GALA.
  • Installing Basemap is highly recommended (but not needed) for more involved plots. If installing with conda, make sure to update the proj4 library before installing Basemap to avoid errors.

INSTALLATION

To install the latest development version of galstreams, use pip by running the following command in a terminal:

pip install git+https://github.com/cmateu/galstreams

Or, download or clone the source code, change directory into the galstreams repository folder and run:

pip install .

Quick Guide

For a detailed walk through the library please see the example Python notebooks provided here.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

galstreams-1.1.tar.gz (22.6 MB view details)

Uploaded Source

File details

Details for the file galstreams-1.1.tar.gz.

File metadata

  • Download URL: galstreams-1.1.tar.gz
  • Upload date:
  • Size: 22.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for galstreams-1.1.tar.gz
Algorithm Hash digest
SHA256 9e90ee072b66b9bf9579c0ad54a84d0ea294ac19ce4ec09a8415bf9da010a0fd
MD5 c1d101ca49b9bfd83d0e0c6c5bb18d62
BLAKE2b-256 bce03f8c151f87cc77673fdb47885ee23f8ec254698e7157afc63f7e4f565465

See more details on using hashes here.

Provenance

The following attestation bundles were made for galstreams-1.1.tar.gz:

Publisher: cd.yml on cmateu/galstreams

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page