Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1# -*- coding: utf-8 -*- 

2from astropy import constants, units 

3 

4# Miscelaneous status codes 

5STARRY_ORTHOGRAPHIC_PROJECTION = 0 

6STARRY_RECTANGULAR_PROJECTION = 1 

7STARRY_COVARIANCE_SCALAR = 0 

8STARRY_COVARIANCE_VECTOR = 1 

9STARRY_COVARIANCE_MATRIX = 2 

10STARRY_COVARIANCE_CHOLESKY = 3 

11 

12# Gravitational constant in internal units 

13G_grav = constants.G.to(units.R_sun ** 3 / units.M_sun / units.day ** 2).value