Skip to content

Code for converting RA and dec to M31-centric galactic coordinates

License

Notifications You must be signed in to change notification settings

michellelmc/m31-frame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

m31-frame

Python code for converting RA and dec to M31-centric galactic coordinates. Written in collaboration with Paula Gherghinescu.

Description

m31-frame allows you to convert coordinates in RA and dec to an M31-centric galactic coordinate system ($l_{M31}, b_{M31}$). In m31_frame.py, we provide functions that will produce these coordinates using transformations from either Metz et al 2007 (radec2m31_metz) or Conn et al. 2012 and 2013 (radec2m31_conn), also used in Savino et al. 2022.

Functionality is also provide for calculating tangent plane coordinates for M31 (project_tp).

Finally, we provide functions for calculating uncertainty tracks to use in an Aitoff plot (aitoff_error_metz, aitoff_error_conn).

Documentation

We provide worked examples in m31_frame.ipynb.

About

Code for converting RA and dec to M31-centric galactic coordinates

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published